My installer is working great except for one thing. Many times when installing an update, one needs to remove certain files that may cause a problem if left. My update overwrites existing files, but I can't find anything anywhere in Setup Factory where it can perform this "delete" process.
I created a DOS *.bat file that will delete these files. Then, inside the Setup Factory program, when I'm setting up the install program, I added a "file.run" action in the "On Post Install" and pointed it to the "Delete.bat" file. (I've also tried the same in the "On Pre Install")
When the installer runs, the DOS window will flash up on the screen, but it apparently doesn't actually run. The files that were supposed to be deleted are still there.
I do find the Delete.bat file when I click on "Start > All Programs > MyProgram... and executing it here does perform the deletes.
Looking for a simple solution to this problem.
Dale
I created a DOS *.bat file that will delete these files. Then, inside the Setup Factory program, when I'm setting up the install program, I added a "file.run" action in the "On Post Install" and pointed it to the "Delete.bat" file. (I've also tried the same in the "On Pre Install")
When the installer runs, the DOS window will flash up on the screen, but it apparently doesn't actually run. The files that were supposed to be deleted are still there.
I do find the Delete.bat file when I click on "Start > All Programs > MyProgram... and executing it here does perform the deletes.
Looking for a simple solution to this problem.
Dale
Comment