Hi !

I have an EXE file that I have to launch at the install AND the uninstall (This file install/uninstall a network protocol).

I currenty launch this file using a .BAT :


THE_EXE_FILE -l "PATH_TO_AN_INF_FILE_INSTALLED_WITH_THE_PRODUCT" -c p -i A_SERVICE
net start A_SERVICE
THE_EXE_FILE -v -s n


At install time, no problems, I install the files I need, and then launch the .BAT.

At uninstall time, I launch this BAT file :


net stop A_SERVICE
THE_EXE_FILE -u A_SERVICE
THE_EXE_FILE -v -s n


Of course, I launch this BAT before the real uninstall of the files I need.


Now, my problem :

I didn't found in InstallShield 10.5 a custom action using a .bat file, so I made an EXE Custom Action and then modified it. That make me think I'm doing something which maybe should not do.

Do you have any other solutions ?

Thanks !


P.S : If you have any solution which could allow me not to install the EXE_FILE (using it as temporary file, installed just during the install/uninstall), please tell me !
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

There are no answers at this time
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

Answer this question or Comment on this question for clarity