Video Screencast Help
Search Video Help Close Back
to help
New in the Rewards Catalog: Vouchers for "Symantec Technical Specialist" and "Symantec Certified Specialist" exams.

64 bit vbscript custom actions

Updated: 22 May 2010 | 4 comments
EdT's picture
+4 4 Votes
Login to vote
This issue has been solved. See solution.

OK, here's a little problem I'm trying to solve....

Sun java 64 bit edition - I want to be able to write into the 64 bit registry using a vbscript (type 38) custom action, as it has to be sequenced just before installfinalize in deferred, which means vbscript. However, it appears that the 32 bit version of wscript.exe is being called instead of the 64 bit version when the script executes.

Is there a way of ensuring that the embedded vbscript custom action runs in the 64 bit context?

discussion Filed Under:

Comments

EdT's picture
27
May
2009
7 Votes +7
Login to vote

Think I have a solution

Yes, it's a failure to read the manual....

Adding 4096 to the attributes in the custom action table, flags a script CA as a 64 bit version. DOH !!

If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.

AppPkgServices's picture
29
May
2009
3 Votes +3
Login to vote

SOLUTION

Please mark your comment as a SOLUTION.

EdT's picture
29
May
2009
3 Votes +3
Login to vote

Had to test it first

Now marked as solution. 
Had to test it first to make sure it worked as expected, but didn't want anyone else wasting time replying to my original posting while I did the testing.

If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.

Eshwar's picture
29
May
2009
3 Votes +3
Login to vote

64 bit custom actions

EdT,
I never tried adding 64 bit custom action [vbscript] and i'm sure you posted the SOLUTION.
Thanks for the solution. I'm going to work on Vista/windows 7 in the near future and this informtion will definitely help.

Thank you,
Eshwar  

Thanks,
Eshwar