I use Wix to create 2 installers for my application, one for x86 and one for x64. I want to use InnoSetup to create one setup.exe that will conditionally launch the appropriate .msi file. It's failry straightforward to get Inno to launch the appropriate .msi:
[Files]
Source: "App.x86.msi"; DestDir: "{tmp}"; Check: not Is64BitInstallMode
Source: "App.x64.msi"; DestDir: "{tmp}"; Check: Is64BitInstallMode
[Run]
Filename: "msiexec.exe"; Parameters: "/i ""{tmp}\App.x86.msi"""; Description: "MyApp"; Check: not Is64BitInstallMode
Filename: "msiexec.exe"; Parameters: "/i ""{tmp}\App.x64.msi"""; Description: "MyApp"; Check: Is64BitInstallMode
But my problem is with the Inno GUI wizard. Namely, I don't want it. I want Inno to silently start, choose the .msi, launch it, and go away. No Inno-generated wizard. Is this possible? Is there a better tool to use to accomplish my end goal?