We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

kukishin
Posts: 5
Joined: Thu Jul 27, 2017 12:57 am

Question about Setup BootStrappera and MSI File

Hello All

Is there any way we can create a bootstrapper installer (EXE) using Advanced Installer that doesn't build an MSI file of it? (I haven't found an answer in the forums yet)

The reason behind my question is to overcome the unique MSI instance limitation for setup projects. To be specific I need to build an EXE file that does X things and then it runs an MSI but of course it fails because it cannot run until the Advanced Installer MSI instance is closed. (Was I clear?)

It won't be an option to install that MSI as prerequisite or dependency before the Adv Installer runs.

Any comment would be very much appreciated.

Thanks in advance.

Best regards
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Question about Setup BootStrappera and MSI File

Hi,

Indeed, two MSI packages cannot run at the same time, however, in order to overcome this, you can use the "Prerequisites" support. Please take a look on the "Problem with SQLPackage.exe" thread which discusses the same problem.

Let me know if this helped, otherwise give me more details about your scenario.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
kukishin
Posts: 5
Joined: Thu Jul 27, 2017 12:57 am

Re: Question about Setup BootStrappera and MSI File

Hello

I came across an issue.

If use an EXE or MSI as prerequisite it works fine but when I use a VbScript it doesn't run using /Q but If I use the GUI installation it works fine as well.

Because of the VBScript I added I noticed that FULL GUI runs as Current User and /Q runs as SYSTEM.

I need to deploy this through SCCM thus I will use /Q, do you have any comment or advice for it?

Thanks in advance.

Best regards
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Question about Setup BootStrappera and MSI File

Hi,

I'm afraid that our "Prerequisites" feature is not designed to support VBS files. The "pre-install" prerequisites functionality, indeed, supports executing basic VBS scripts, but it was especially implemented to.

Please keep in mind that if you add pre-install prerequisite to a package, they are handled by the EXE Bootstrapper, so if you launch the MSI package, those prerequisites will not be installed.

Does the main package runs under SYSTEM account when you run it with the "/Q" command? When a package is installed it runs with the user permissions of the process that launched it. If you launch it manually, it will run under the logged on user, but if it is launch from a console or a deployment tool, it will run under the same user as that console or tool.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”