64 bit vbscript custom actions
Updated: 22 May 2010 | 4 comments
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
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.
SOLUTION
Please mark your comment as a SOLUTION.
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.
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
Would you like to reply?
Login or Register to post your comment.