Repair from Control Panel deletes MSI dile - 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!

mabs
Posts: 27
Joined: Tue May 08, 2012 10:04 am

Repair from Control Panel deletes MSI dile

Hi, people.

My project was created with AI 8.9. It is an LZMA & EXE bootstrapper.

I configured the option "Do not delete extracted MSI and CAB files". When I install, it runs Ok and in the configured extraction folder appear the prerrequisite files (?) and a folder cointaining the MSI file. Ok.

When I go to repair from Control Panel, I see my application in the list and the repair process also runs Ok, except for the MSI file, wich is deleted. Why? This is a big problem because if I try to repair a second time, Windows Installer don't find the MSI file and opens a window asking for its location.

If I executes the installation EXE and click the repair option, it runs Ok. If I uninstall from Control Panel, it runs Ok.

If I modify my project and don't configure the option "Do not delete extracted MSI and CAB files", after installation the prerrequisite and the MSI files are in the extraction folder another time! And the repair process from Control Panel deletes the MSI file another time.

Can you help me?

Thanks a lot.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Repair from Control Panel deletes MSI dile

Hello and welcome to Advanced Installer forums,

There was a possible related bug in this area which was fixed since 8.9. Does this behavior manifest when using our latest version?

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
mabs
Posts: 27
Joined: Tue May 08, 2012 10:04 am

Re: Repair from Control Panel deletes MSI dile

Hi.

Well, I have the AI versión 8.9. I see there are a 9.0, a 9.0.1 and a 9.1 version.

Althought, I don't see my problem in the fixed bugs lists.

I will update muy AI and then I will test with the new version.

Ok. Thanks a lot.
mabs
Posts: 27
Joined: Tue May 08, 2012 10:04 am

Re: Repair from Control Panel deletes MSI dile

Hello.

Now I have got the AI version 9.1 (the last version up today), and the problem is solved. That is:

- My project generates al LZMA & EXE bootstrapper.
- It has not selected the "Do not delete extracted MSI and CAB files".
- After installation, the MSI file and the prerrequisite files remais in the extraction folder. THIS CAN BE AN ERROR?

- Now my project has selected the "Do not delete extracted MSI and CAB files".
- After installation, the MSI file (CORRECTLY!!!) and the prerrequisite files (THIS CAN BE AN ERROR?) remais in the extraction folder.

Thanks a lot.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Repair from Control Panel deletes MSI dile

Hello,

If the prerequisites are downloaded from an URL location then they will not be removed. We were aware of this issue before and starting with our next release this kind of prerequisites will be removed as well.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
mabs
Posts: 27
Joined: Tue May 08, 2012 10:04 am

Re: Repair from Control Panel deletes MSI dile

Hello.

The prerrequisites are compressed into the EXE file. They aren't downloaded from de web.

I think now it is possibly a permission problem. I set the extraction folder in a subfolder into CommonProgramFiles, and my system is a Windows 7 x64. The user should have administrator permissions to write and remove files in that directory.

My project has set the "run as administrator" mark, but I think it can be the setup program hasn't permission in this part of the process to remove files in that directory (?).

Regards.

Return to “Common Problems”