cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
pfraszka
Level 2

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.
Labels (1)
0 Kudos
(1) Reply
Roman1
Level 9

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.
0 Kudos