natecope
Posts: 38
Joined: Tue Feb 03, 2015 4:27 pm

installing in safe mode

Hi there,

I know that windows installer needs to be running in order for installations to work, and hence why installations do not work in safe mode.

I've got a theory I want to run by you.

There is an easy way to turn on the windows installer service for safe mode with a registry change. but I'd like to do it at the start of an AI install.

Can I make that change to the registry before AI cries and closes saying that windows installer needs to be active in safe mode?
natecope
Posts: 38
Joined: Tue Feb 03, 2015 4:27 pm

Re: installing in safe mode

Bumping, due to this being a blocker for our project. :(

Is there any way to squelch the check for windows installer at the start? And are there any sequences that can be run before that happens?

In other words, I want to turn on the installer service before AI does its checks to see if the service is on.
Daniel
Posts: 8276
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: installing in safe mode

Hello Nate,

We don't have built-in support for this. However, as a workaround, you can try (I didn't test this) to write your own small application which does the registry change (e.g. an EXE) and add it as a pre-install prerequisite to your main project.

Let us know if this helped.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
natecope
Posts: 38
Joined: Tue Feb 03, 2015 4:27 pm

Re: installing in safe mode

I believe we have tried that scenario, without success. We get the windows installer message from the installer immediately when running it, and it dies.

I'm going to double check and try it one more time. In the meantime, do you have any other suggestions?
natecope
Posts: 38
Joined: Tue Feb 03, 2015 4:27 pm

Re: installing in safe mode

The pre-req solution works!

Odd, because I think the first time around, it wouldn't. We must've missed something. :D

Thanks for the help!
Daniel
Posts: 8276
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: installing in safe mode

You're always welcome. I'm glad you got this working.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”