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 create custom action using 'subst'
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
Apr 26, 2012
02:13 AM
how to create custom action using 'subst'
hi all,
I'm new in custom action... I work on InstallShield 2011. I have a package to do where before application should be installed i need to create network drive h:. To do that I'm using subst command in cmd, example:
subst h: c:\temp
than should be installed package. The 2nd custom action should be set after uninstallation. Fisrt the application should be uninstalled and after that network drive should be removed.
Could You help me which custome action and using which parameter could I use? I could do it using install- and uninstall.cmd but I'd like do it using ca.
Many thanks for help in advance.
I'm new in custom action... I work on InstallShield 2011. I have a package to do where before application should be installed i need to create network drive h:. To do that I'm using subst command in cmd, example:
subst h: c:\temp
than should be installed package. The 2nd custom action should be set after uninstallation. Fisrt the application should be uninstalled and after that network drive should be removed.
Could You help me which custome action and using which parameter could I use? I could do it using install- and uninstall.cmd but I'd like do it using ca.
Many thanks for help in advance.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Apr 26, 2012
03:16 AM
Hello,
after PC reboots you have to map your drive F: once more.
So, write a batch (map.bat) and call it before setup
starts copying.
You have to put map.bat in Autostart folder.
after PC reboots you have to map your drive F: once more.
So, write a batch (map.bat) and call it before setup
starts copying.
You have to put map.bat in Autostart folder.