Hi,
I am using Installshield Dev 7 with SP4 to generate a setup package for my app.
I already have my own inst.exe file which works fine from the command line.
I am trying to run this from the Installshiled with CA.
Here is what inst.exe does.
1) stop APP-1.
2) register my app2.dll.
3) start APP-1.
my problem is that if I put CA in Execute Sequence, inst.exe will not stop-and-start APP-1. if the APP-1 is already running!
if APP-1 is not running every thing is good.
why it is not able to stop APP-1 if it is running?
I use CreateProcess to do all three steps. Process exit-codes are zero.
is this the problem with the permissions? how do i get it straight? it works fine if CA is in UI Sequence.
any clues?
thanks.
-tk
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
How to stop process by custom actions?
Started by
tka
, Nov 20 2003 18:50
2 replies to this topic
Posted 21 November 2003 - 05:37
Where in ExecuteSequence you are trying to run this? after InstallFinalize?
If not then try that (if it suits you).
Also consider having a deferred execution custom action.
Something wrong trying
paracha3
If not then try that (if it suits you).
Also consider having a deferred execution custom action.
Something wrong trying
paracha3
Posted 21 November 2003 - 19:27
hello pracha3,
thanks for your help.
I am already running it after Installfinalize during installation.
i also call my inst.exe with uninstall argument during uninstall sequence. it will also do stop+start APP-1.
if i make that CA a deffered CA, it will not work. because inst.exe would have been already deleted. right? i am currently calling uninstall CA after InstallValidate.
or am i missing something?
thanks,
-tka
thanks for your help.
I am already running it after Installfinalize during installation.
i also call my inst.exe with uninstall argument during uninstall sequence. it will also do stop+start APP-1.
if i make that CA a deffered CA, it will not work. because inst.exe would have been already deleted. right? i am currently calling uninstall CA after InstallValidate.
or am i missing something?
thanks,
-tka