Methods/Techniques to install empty folders
Posted: Mon Jan 25, 2010 3:56 pm
In our installer we wish to install upwards of 50 empty folders. The app breaks if these folders don't exist, and if they have dummy files. Unfortunately we are dependent on code which has these constraints.
I don't want to create 50 Create Folder statements because that means updating the installer just because someone created a new folder that needs to be part of the build.
Currently, We run a script that populates all these empty folders with 'dummy.tmp'. Once these folders have been extracted I would like to remove all of these files. At what point during the install can this be done and how?
I've tried using DELETE FILES RECURSIVE %TARGETDIR%\\SomePath\\*.tmp but the files still exist after installation.
Thank you for your assistance.
I don't want to create 50 Create Folder statements because that means updating the installer just because someone created a new folder that needs to be part of the build.
Currently, We run a script that populates all these empty folders with 'dummy.tmp'. Once these folders have been extracted I would like to remove all of these files. At what point during the install can this be done and how?
I've tried using DELETE FILES RECURSIVE %TARGETDIR%\\SomePath\\*.tmp but the files still exist after installation.
Thank you for your assistance.