This issue is fixed in Wise Installation Studio/Express 7.0 and Wise Package Studio 7 SP2.
- Go to the Prerequisites page in the Installation Expert view.
- Finalize the list of custom prerequisites.
- Click Edit Script.
- A warning will display. Click Yes. The installation may compile. The custom prerequisites script will open in WiseScript Express.
- Do not make any changes, just close WiseScript Express. Back in Wise for Windows Installer, the custom portion of the Prerequisites page will be disabled. This is necessary.
- Open Windows Notepad.
- From the File menu in Notepad select Open.
- Change Files of Type to All Files.
- Browse to your installation project directory and open the .WSE file associated with your project. It will usually be named the same as your .WSI project file. This will open the .WSE in text format.
A few lines from the top of the script you should see the line for "Extra Flags".
- Modify the line to read:
Basically, you will replace the 20th "0" with a "1".
If the Extra Flags line does not exist, add it exactly as shown above between "item: Global" and the first "end" statement.
- From the File menu in Notepad, select Save.
- Close Notepad.
- In Wise for Windows Installer, Compile the installation.
- Use signcode.exe from a command prompt to sign your installation executable.
signcode.exe -spc "<path to .spc file>" -v "<path to .pvk file>" -t http://timestamp.verisign.com/scripts/timstamp.dll "<path to installation executable>
Once steps 1–13 are complete, you will only need step 14 to sign the .EXE going forward (after each Compile). The only way you will need to repeat all of the steps is if the .WSE script is deleted, or reset using the Reset Script button on the Prerequisites page.
If you receive the following error when trying to execute the installation, you will need to perform steps 6–14 again: "Could not Initialize Installation. File size expected=nnnnn, size returned=nnnnn".
Wise for Windows Installer 6.2
Wise Package Studio 6.01
Imported Document Id