Hello,
At Uninstallation I want to delete a file that is not installed
by InstallShield. I probably have to use DeleteFile but the
problem is that I don't know where to call it from in the setup.rul file!
Any help will be appreciated,
Arjan.
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.
Delete file
Started by
Arjan
, Apr 08 2002 09:42
1 reply to this topic
Posted 08 April 2002 - 16:43
In OnMainUIBefore. You probably are using the default implementation, so you need to add it though the toolbars to expose it.
To do, select "Before Move Data" and "Maintenance UI Before" as the toolbar selections. Then scroll down to the newly added function. Once there, you'll see something along the lines of the following:
switch(nType)
case REMOVEALL: ComponentRemoveAll();
Just add your delete file to the REMOVEALL case.
To do, select "Before Move Data" and "Maintenance UI Before" as the toolbar selections. Then scroll down to the newly added function. Once there, you'll see something along the lines of the following:
switch(nType)
case REMOVEALL: ComponentRemoveAll();
Just add your delete file to the REMOVEALL case.