jstevenco
Posts: 20
Joined: Tue Jan 01, 2008 1:27 am

Bootstrapper and Windows Installer Properties

Hello AI-ers,

I have discovered a minor issue with passing content as part of a public property from the bootstrapper to Windows Installer. If I specify a string that contains "//" as part of my command line, e.g.,

MyPackage.exe CONFIGPROPERTIES="/_mywebsite_ 'http://www.mygroovysite.com/'",

the bootstrapper uncompresses etc., but then msiexec emits its usage dialog as if the command line is incorrectly specified. I've confirmed that it's the "//" that causes the problem; change it to "/" and the problem disappears. I can also do:

MyPackage /extract

then change to the extract folder and do:

msiexec /i MyPackage.msi CONFIGPROPERTIES="/_mywebsite_ 'http://www.mygroovysite.com/'"

and the install proceeds as expected.

We can work around this for now, but it seems that passing a URL as part of a property during a command line install might not be that uncommon. Is this a known issue?

Thanks,

Steve
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Bootstrapper and Windows Installer Properties

Hi Steve,

The Advanced Installer bootstrapper does not support the "//" string in its command line. However, you can use this string by adding a "|" character in front of it. Therefore, your command line should look like this:

Code: Select all

MyPackage.exe CONFIGPROPERTIES="/_mywebsite_ 'http:|//www.mygroovysite.com/'"
Please note that this is mentioned in the Exe Setup file article in the User Guide.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
jstevenco
Posts: 20
Joined: Tue Jan 01, 2008 1:27 am

Re: Bootstrapper and Windows Installer Properties

Hi Cosmin,

My bad -- RTFM. Thanks for the clarification.

Cheers,

Steve

Return to “Common Problems”