Create new folder
Create new folder
How do I create a new empty folder during installation with InstallAware?
-
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
If you want it gone during uninstall, that's automatic.
If you will be uninstalling a folder you didn't create during the install, you can use Delete Files Recursive, or the RemoveDirectoryA function in kernel32.dll through the Call DLL Function plug-in.
If you will be uninstalling a folder you didn't create during the install, you can use Delete Files Recursive, or the RemoveDirectoryA function in kernel32.dll through the Call DLL Function plug-in.
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
-
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
Here is a snippet that removes $TARGETDIR$:
Code: Select all
~InstallAware Clipboard Data~
~Call DLL Function~
~{95B5542A-DF3E-4AFF-B33E-8FCAC80C73FB}~
~RemoveDirectoryA,kernel32.dll,bool,,"pointer to string",$TARGETDIR$,$~
~mIDEFunc.dll\\mEXEFunc.dll~
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
Who is online
Users browsing this forum: No registered users and 154 guests