Always creates registry entry at HKCU to run after reboot

Having trouble running Advanced Installer? Got a bug to report? Post it all here.

Always creates registry entry at HKCU to run after reboot

Postby mabs » Mon May 14, 2012 2:56 pm

Hello.

With AI version 9.1 I see the installation process always creates a Windows registry entry at HKCU\Software\Microsot\Windows\CurrentVersion\Run with the product code as key and a command line to execute when the computer reboots. The registry entry is created always in all Windows versions I tested: from Windows XP to Windows 7. This does the installation UI is showed another time after rebooting the computer.

I studied the log file, and I don't understand why this is necessary, because I do not see what this "execution after-reboot" does: it doesn't copy or register any file! But the users view the installation is not complete, and I don't know why, and this is my problem: I cannot explain why this occurs.

In the log file, I see the second execution creates a AI_RESUME=1 property, but the AFTERREBOOT property doesn't appears.

Anything more: In some computers, after this "second execution", the registry entry is deleted. But in others they don't do this, forcing the user to "reinstall" the application each time it reboots...

Can you explain me this behaviour?

With AI version 8.9 this doesn't occurs.

My application is configured with the "run as administrator" to install, because it register some ActiveX and COM componentes and Windows Fonts, and also copies files to %CommonProgramFiles%.

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

Re: Always creates registry entry at HKCU to run after reboo

Postby mihai.petcu » Tue May 15, 2012 9:39 am

Hello,

I'm sure why this is happening, can you please send us the .AIP (project file) and a verbose log of the installation to support at advancedinstaller dot com so we can investigate? It would also help to include a link where we can download the built installer from.

All the best,
Mihai
Mihai Petcu
Advanced Installer Team
http://www.advancedinstaller.com/
mihai.petcu
 
Posts: 3452
Joined: Thu Aug 05, 2010 8:01 am

Re: Always creates registry entry at HKCU to run after reboo

Postby jorobhall » Tue May 15, 2012 8:46 pm

I am having the same issue.
jorobhall
 
Posts: 2
Joined: Tue May 01, 2012 6:59 pm

Re: Always creates registry entry at HKCU to run after reboo

Postby Bogdan » Wed May 16, 2012 6:59 am

Hi,

We had a similar related issue but later investigation proved it's not related.

Please keep in mind this is the designed prerequisite behavior. That registry key is always added and its purpose is to resume the installation after reboot. However, this entry is deleted at the end of the installation if no resource triggers a reboot.

If any reboot still occurs after a complete installation, please send us the .AIP (project file) and a verbose log of the installation to support at advancedinstaller dot com so we can investigate.

Regards,
Bogdan
Bogdan Mitrache
Advanced Installer Team
http://www.advancedinstaller.com/
Bogdan
 
Posts: 2398
Joined: Tue Jul 07, 2009 7:34 am

Re: Always creates registry entry at HKCU to run after reboo

Postby mabs » Fri May 18, 2012 9:49 am

Hello.

I will ask my chief for authorization to send us these files.

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


Return to Common Problems

Who is online

Users browsing this forum: Bing [Bot] and 4 guests