Summary
Information on VB custom action.Synopsis
On the whole, VBScripts are not recommended due changing contexts often preventing their proper functionality and their deceptively easy use hides their primary weakness; the difficulty troubleshooting them. Because of this, the strongly critical caution below against VBScript custom actions from Microsoft's own developers should be taken into account.
Discussion
dim tempInstalldir
tempInstalldir="c:\myinstalldir"
session.Property("MYCUSTOMPATH")= tempInstalldir
end sub
Additional Information
For more information on custom actions, see the InstallShield Help topic Using Custom Actions.
From Microsoft's developers' web blogs:
- VBScript (and Jscript) MSI CustomActions suck
- VBScript (and Jscript) MSI Custom Actions (don't have to) suck
For additional code samples of VBScript and Windows Script Host (and Jscript) documentation, see Microsoft's page Scripting Help File.
Related Articles
Deferred Execution Custom Action Cannot Retrieve a Property Value 8Number of Views FlexNet Manager Suite application server upgrade may change non-default values in Compliance\CurrentVersion\*Directory reg… 8Number of Views Kill 64bit Process During Installation/Uninstallation 8Number of Views There Is Not Enough Space on Drive C to Extract the Files 13Number of Views Build Error 1501 - Compression of File With Unicode Filename Building Other Then C: Drive 8Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Revenera Assistant
Case id: 00001065
Activity: Status change: 2 hours ago