|
@mondragon:
I've found a way to run the pes09setup (inno setup) from inside the msi:
edit msi with orca
in table CustomAction, add a new row and set these values:
Action: PES09Img
Type: 50
Source: InnoSetup
Target: PES09Setup.exe /Silent
in table InstallUISequence, add a new row and set these values:
Action: PES09Img
Condition: Not Installed
Sequence: 1302 (this will make inno setup run at the end of msi installer - can be any values above ISSetupFilesCleanup action)
in table Property, add a new row and set these values:
Property: InnoSetup
Value: Pes09Setup.exe
Save.
in the iss file, you can add the or (PageID=wpSelectDir) to the ShouldSkipPage function to prevent the Select Folder page. Combined with /silent will make inno setup skip the 1st screen and start extracting the files to the right folder.
Note: the names can be anything you like. Just make sure they are referred correctly since values in table A become foreign keys in table B.
|