Silent re-install problems - Advanced Installer Community

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!

PhilB
Posts: 95
Joined: Fri Jul 06, 2007 4:13 pm

Silent re-install problems

I have an installer that a customer wishes to run silently. This works correctly. If the same install is then run silently for a second time, my understanding is that a repair operation should occur (silently :) ), however what actually happens is that a system common dialog box with title "select the installation package for [ProductName]" appears! This seems to be requiring an executable and defaults to the windows system folder. If I select cancel then a repair appears to be carried out. Do you have any suggestions as to why this dialog is appearing and how I can stop it doing so? I am currently using version 8.6 of AI

Regards,

Phil
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Silent re-install problems

Hi Phil,
Do you have any suggestions as to why this dialog is appearing and how I can stop it doing so?
When a package is installed, Windows caches the MSI by placing it in the Windows\installer folder. During this process, all the unnecessary information is removed in order to decrease the size of the file. When a Repair is called, some data required may not be found in the cached MSI. In this case, Windows Installer will prompt the user for the original package in order to retrieve the data it needs.

Here's another relevant MSDN article.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
PhilB
Posts: 95
Joined: Fri Jul 06, 2007 4:13 pm

Re: Silent re-install problems

Thanks for the explanation - strange it asks for an .exe file though :?.

Phil
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Silent re-install problems

Hi Phil,

That's fine if your original package was an .EXE. You can send us the verbose log and maybe we can help you avoid this.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
PhilB
Posts: 95
Joined: Fri Jul 06, 2007 4:13 pm

Re: Silent re-install problems

That's fine if your original package was an .EXE. You can send us the verbose log and maybe we can help you avoid this
The original package was an msi with a separate cab file that had previously been extracted from an exe package. I guess the actual problem was that it couldn't find the cab file. Presumably there is some reference to the original exe file hidden away even though the .exe has never been on that machine. I've decided to resolve this by generating an msi build as well as the exe package, so that the cached msi contains the cab file.

Return to “Common Problems”