trashy
Posts: 14
Joined: Wed Jun 01, 2011 10:45 am

setup.exe download url

I have successfully built my setup.exe and setup.msi using AI.

I am now ready to deploy these files to my web servers for download. However, before I do this I need to modify setup.exe appropriately. In the past I have done this using msistuff:

msistuff.exe setup.exe -u http://download.devint13.evolvi.co.uk/EvolviPrint -d EvolviPrint.msi

However, if I do this then I get the error "This archive is corrupted" when I run setup.exe.

Just in case signing is causing the problem, I have tried signing in AI (using signtools from 6.0 and 7.0 SDK), signing using signtool on the command line, not signing at all - but I still get the same error.

Any ideas?

AI 8.1.3
Windows 7 SP1 (64 Bit)
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: setup.exe download url

Hi,

Please note that msistuff.exe is only for the Visual Studio setup bootstrapper. The Advanced Installer bootstrapper is a custom EXE and it's completely different. If you need to change it's configuration, you must modify your Advanced Installer project and rebuild it. For example, the MSI URL can be set in the "Bootstrapper" tab from Media page.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
trashy
Posts: 14
Joined: Wed Jun 01, 2011 10:45 am

Re: setup.exe download url

Many thanks for this info - I didn't realise that the setup.exe files differed between installers.

Do you know if I can modify the download URL via the command line? Our builds are automated and all run from the command line for different environments, e.g. test and live.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: setup.exe download url

Hi,

The URL cannot be modified directly, but you can try this approach:
- in "Install Parameters" page create a custom property for your URL, for example SETUP_EXE_URL
- in Bootstrapper tab from Media page set the URL field to that property (it's pseudo-formatted):

Code: Select all

[|SETUP_EXE_URL]
- before building your project set the property through /SetProperty command line option

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
trashy
Posts: 14
Joined: Wed Jun 01, 2011 10:45 am

Re: setup.exe download url

Many thanks - the custom property worked perfectly.

Return to “Common Problems”