Create a Folder during install but don't delete it upon uini
Posted: Fri Feb 13, 2015 12:39 pm
Hello,
I have the following requirement:
I need to create a folder during install, to which I add a share name and assign permissions. When I uninstall (or updgrade) my product I do not want to remove this folder; my user's my have made some changes to the security and permissions on this folder that they want to keep.
Right now if the install process creates the folder (using the CreateFolder command before ApplyInstall), it is also removed during uninstall.
I tried using CreateDirectory but no folders are created; I suspect because I am calling it after ApplyInstall.
How can I keep InstallAware from removing that folder?
Thanks,
Sheri
I have the following requirement:
I need to create a folder during install, to which I add a share name and assign permissions. When I uninstall (or updgrade) my product I do not want to remove this folder; my user's my have made some changes to the security and permissions on this folder that they want to keep.
Right now if the install process creates the folder (using the CreateFolder command before ApplyInstall), it is also removed during uninstall.
I tried using CreateDirectory but no folders are created; I suspect because I am calling it after ApplyInstall.
How can I keep InstallAware from removing that folder?
Thanks,
Sheri