installer opens system32 folder - Advanced Installer Community
fly
Posts: 10
Joined: Wed May 07, 2014 7:25 pm

installer opens system32 folder

Hello,

I have created a base installer version 1.0.0. I created a major upgrade that contains a new sub-directory, version 1.0.1. While in the process of testing my major upgrade, I accidentally interrupted the install process. I then uninstalled all packages and tried again.

The original package, 1.0.0 installs as it should. When installing 1.0.1, it finds the old version and uninstalls it as expected. It then goes to install the new 1.0.1 version, but no files are installed. It does not give an error and believes it has installed properly. After the install completes, windows explorer pops open to the system32 directory. I have no idea why this is happening, but think it might be a clue as to why 1.0.1 is not installing properly.

I suspected I corrupted my registry somehow and the installer possibly thinks that 1.0.1 is already installed, therefore not installing it. I ran the Windows Installer Cleanup Utility (msicuu2.exe) and tried to clean up any old remnants of the installs that I interrupted that caused the computer to be in this error state, but the behavior continues.

I tested installing 1.0.0 and 1.0.1 on top of that on a different machine and it worked as expected (uninstalls 1.0.0, installs 1.0.1 and windows explorer does not open to system32).

I have tried changing the product code, upgrade codes, but still doesn't work on the machine mentioned above.

Any advice on how to repair the computer that has been possibly corrupted, and why windows explorer pops open the system32 folder?
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: installer opens system32 folder

Hi and welcome to Advanced Installer forums.
Any advice on how to repair the computer that has been possibly corrupted
Indeed, it seems that your machine was corrupted, most likely the registry. You can try to restore your system to a previous state using the System Restore feature. Also, you can send us a verbose log of the upgrade, so we can take a look of it and try to identify the problem.
and why windows explorer pops open the system32 folder?
This folder is opened if you have a "Launch file" custom action or you try to launch a file on the [Finish] button of the "ExitDlg" dialog, but that file is not found on the machine because, as you mentioned, no file is installed during the upgrade.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
fly
Posts: 10
Joined: Wed May 07, 2014 7:25 pm

Re: installer opens system32 folder

Thank you very much for the response. I was able to correct the problem by performing a System restore on the computer as you suggested.
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: installer opens system32 folder

You're welcome. I'm glad you managed to correct your problem.

Just let us know anytime you need help.

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

Return to “Common Problems”