Deferred Custom Action
I've 2 WiseScipt custom actions to include in a MSI wrapper.
The first CA installs the application in silent mode. (Calling vendor EXE with silent switch).
The second CA deletes few unnecessary files that the First CA installs.
All works great when the above WiscScripts are executed manually one after the other.
But, when I include these 2 CA in a MSI wrapper, the 2nd CA doesn't remove the files that it should.
Both the CA are set in deffered mode. No error message pops up.
How can I ensure that the unnecessary install files are removed ? Thanks for your help.
The first CA installs the application in silent mode. (Calling vendor EXE with silent switch).
The second CA deletes few unnecessary files that the First CA installs.
All works great when the above WiscScripts are executed manually one after the other.
But, when I include these 2 CA in a MSI wrapper, the 2nd CA doesn't remove the files that it should.
Both the CA are set in deffered mode. No error message pops up.
How can I ensure that the unnecessary install files are removed ? Thanks for your help.
0 Comments
[ + ] Show comments
Answers (10)
Please log in to answer
Posted by:
pjgeutjens
13 years ago
Posted by:
cygan
13 years ago
Posted by:
WiseAppPackager
13 years ago
This is still not resolved.
When the first CA is run, it takes too much time to install the application. The process runs in background for several minutes.
But, the 2nd CA doesn't wait till that time, whereas it should.
How can I make sure to install the 2nd CA only after the 1st CA has completed its execution?
Can 'return code' be used?
When the first CA is run, it takes too much time to install the application. The process runs in background for several minutes.
But, the 2nd CA doesn't wait till that time, whereas it should.
How can I make sure to install the 2nd CA only after the 1st CA has completed its execution?
Can 'return code' be used?
Posted by:
mekaywe
13 years ago
Posted by:
anonymous_9363
13 years ago
Do you have your 1st CA set to wait until the called process completes? Or perhaps the called process itself shells out to yet another process, meaning that the calling process has indeed "completed"?
Are you beginning to see why shelling out to vendor installs is a poor alternative to capturing and creating a proper MSI?
Are you beginning to see why shelling out to vendor installs is a poor alternative to capturing and creating a proper MSI?
Posted by:
WiseAppPackager
13 years ago
Yes, that is the exact issue. As the 1st CA calls out another process, over which I don't have any control.
VBScab - You are correct. I've learned my lesson, relying on vendor installs is obviously not a good option.
But for some setups, can’t get help either way - capture or wrapper. It's always a PAIN :)
Thanks for your help.
VBScab - You are correct. I've learned my lesson, relying on vendor installs is obviously not a good option.
But for some setups, can’t get help either way - capture or wrapper. It's always a PAIN :)
Thanks for your help.
Posted by:
WiseAppPackager
13 years ago
Posted by:
WiseAppPackager
13 years ago
Posted by:
Repackman
13 years ago
Posted by:
anonymous_9363
13 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.