Hello everyone
I got a problem that I don't know how to remove the shortcuts when clicks Cancel button during installation.
The shortcuts are created by scripts.
So there is another function that is used to remove the shortcut.
It works well when do the uninstallation.
But when clicks Cancel button during installation,the shortcuts are not removed.
Pls tell me how to deal with this condition.
Yeah I have a custom action that call that funtion and it is a rollback execution and the install exec sequence is "After StartService" , the install exec condition is "Not Installed"
However it didn't work?
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.
Remove shortcut when clicks Cancel button
Started by
uumlwy
, May 08 2007 09:47
1 reply to this topic
Posted 09 May 2007 - 12:23
Why do you create shortcuts using scripts in the first place?
Any action that modifies the target system (like your scripts) should be placed in the Execute sequence between InstallInitialize and InstallFinalize and should be set to "deferred execution" or "deferred execution in system context" if they need elevated rights (e.g. on Vista) and should have a corresponding rollback action.
Any action that modifies the target system (like your scripts) should be placed in the Execute sequence between InstallInitialize and InstallFinalize and should be set to "deferred execution" or "deferred execution in system context" if they need elevated rights (e.g. on Vista) and should have a corresponding rollback action.
Stefan Krüger
InstallSite.org twitter facebook