This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- How to Use VB Script in Custom Actions?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jan 24, 2014
10:52 PM
How to Use VB Script in Custom Actions?
Hi All, My plan is to copy two pdf files(User Manual) and store into USERPROFILE (Win 7) while installing msi file. How can we do this using custom actions? Can anyone guide me?
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jan 27, 2014
03:43 PM
A few questions before deciding on the approach.
Don't jump to custom action hastily. For every custom action created, you will need 3 more custom actions (1 rollback custom action, 1 uninstall custom action and 1 rollback for uninstall custom action). You will have to consider how these custom action should affect during upgrade.
- Is your installation installing the 2 pdf files?
- If so, are you installing and then duplicating them to USERPROFILE folder?
- During (minor/major) upgrade, will those in USERPROFILE folder be updated?
- During uninstallation, will those in USERPROFILE folder be removed?
Don't jump to custom action hastily. For every custom action created, you will need 3 more custom actions (1 rollback custom action, 1 uninstall custom action and 1 rollback for uninstall custom action). You will have to consider how these custom action should affect during upgrade.
![](/skins/images/A5EADE085F77DE82FB3B14D6B307AE6A/responsive_peak/images/icon_anonymous_message.png)