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!

dean_goddard
Posts: 3
Joined: Wed Jan 23, 2019 1:37 am

Unable to launch a MSI file as a custom action

(Preferace: I apologise if this is already answered by the search function of this forum is very limited and frustrating.)

I'm trying to run a Crystal Reports runtime (MSI) file, to kick off after the main application has been installed, but so far it just doesn't work. I have Version 14.5.2 Professional build 83143 on Windows 10 (just doing another update now). I've tried a few things, including executing the MSI file from the APPDIR working directory, or directly (APPDIR\CRRuntime_blah.msi), and even tried MSI.exe -U "APPDIR\CRRuntime_blah.msi". So far nothing fires it off.

I wouldn't have thought it would be this difficult. It would be nice if Advanced Installer, had a means to build a 'TEST' version of the installer, that was able to message box any warnings/errors directly to the user, live as they occur during the installation.

In the meantime I think I came across a means of logging the install output, so I'll update my version and try that and update this topic with what I find.
Catalin
Posts: 7853
Joined: Wed Jun 13, 2018 7:49 am

Re: Unable to launch a MSI file as a custom action

Hello and welcome to our forums,
(Preferace: I apologise if this is already answered by the search function of this forum is very limited and frustrating.)
I apologize for the problems that you have encountered with our search function. However, we do have two searching ways:

- One of them is this:
BadSearch.PNG
BadSearch.PNG (5.68 KiB) Viewed 4459 times
which I would not advise using.

- And the other one is:
GoodSearch.PNG
GoodSearch.PNG (16 KiB) Viewed 4459 times
which I would advise using.

In what regards your main issue here, since you want to install it at the end of your main setup installation, have you tried adding it as a "Post-Install" prerequisite?

Post-Install prerequisites are prerequisites which are launched after your main installation. They are also handled by the installation user interface.

Hope this helps.

Kind regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
dean_goddard
Posts: 3
Joined: Wed Jan 23, 2019 1:37 am

Re: Unable to launch a MSI file as a custom action

Ah. Thanks Catalin. That's exactly what I'm after. I'll give that a go now, and post back with any news.
Catalin
Posts: 7853
Joined: Wed Jun 13, 2018 7:49 am

Re: Unable to launch a MSI file as a custom action

You are always welcome.

Glad I could help.

Kind regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
dean_goddard
Posts: 3
Joined: Wed Jan 23, 2019 1:37 am

Re: Unable to launch a MSI file as a custom action

Just letting you know that the prerequisite worked well.

Thanks again.
Catalin
Posts: 7853
Joined: Wed Jun 13, 2018 7:49 am

Re: Unable to launch a MSI file as a custom action

You're always welcome.

I am glad you got this working.

All the best,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”