Trial period-Possible to remove registry key as pre-install? - 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!

Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Trial period-Possible to remove registry key as pre-install?

Reposting article for user chrisr, lost due to hardware changes on our servers.

I am looking into purchasing Advanced Installer for my company and one of the things I am trying to test is having it remove a certain registry key before performing an install. Is this possible?
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Trial period-Possible to remove registry key as pre-inst

Hi Chris,

Thank you for your interest in Advanced Installer.

This is possible and very easy to accomplish. Just go to Registry page and create the registry key you want to be removed in there, right click on it and select Properties. From the new dialog that appears go to Remove tab and there you can easily configure it to be removed when the package is installed.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
chrisr
Posts: 5
Joined: Sat Jul 07, 2012 12:21 am

Re: Trial period-Possible to remove registry key as pre-inst

Bogdan wrote:Reposting article for user chrisr, lost due to hardware changes on our servers.
Thanks! I was wondering why I couldn't log in!
Bogdan wrote:Hi Chris,

Thank you for your interest in Advanced Installer.

This is possible and very easy to accomplish. Just go to Registry page and create the registry key you want to be removed in there, right click on it and select Properties. From the new dialog that appears go to Remove tab and there you can easily configure it to be removed when the package is installed.

Regards,
Bogdan
Thanks for the reply, but it doesn't appear to work for me. I did what you suggested, but it does not remove those keys. I attached what I have, let me know if maybe I didn't do it properly. Thanks!
Attachments
AdvancedInstallerRegistry.jpg
AdvancedInstallerRegistry.jpg (86.24 KiB) Viewed 9714 times
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Trial period-Possible to remove registry key as pre-inst

Hello,

This shouldn't happen. Those registry keys should be removed when "ProductInformation" component is installed.
If the behavior persists on other clean machines as well, can you please send us a verbose log of the installation so we can investigate?

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
chrisr
Posts: 5
Joined: Sat Jul 07, 2012 12:21 am

Re: Trial period-Possible to remove registry key as pre-inst

mihai.petcu wrote:Hello,

This shouldn't happen. Those registry keys should be removed when "ProductInformation" component is installed.
If the behavior persists on other clean machines as well, can you please send us a verbose log of the installation so we can investigate?

All the best,
Mihai
I thought I had figured it out (had the keys in the wrong place), but even after that, I can't get it to work like I need.

I'm trying a slightly different approach, but what needs to happen is still the same.

The msi I created works on a Windows XP machine, but it does not work on a Windows 7 machine. I can't figure it out. Any help would be appreciated.

I've attached the verbose log as you requested earlier as well a screen shot of the keys I'm trying to remove.
Attachments
removalkeys.jpg
removalkeys.jpg (59.18 KiB) Viewed 9683 times
removallog.log
(217.87 KiB) Downloaded 267 times
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Trial period-Possible to remove registry key as pre-inst

Hello,

This is happening because you're installing on a 64-bit Windows 7 machine and the removal is being performed in Wow6432Node Registry Key.
To perform the removal in 64-bit location on Windows 7 64-bit you should enable the registry key's associated component with "64-bit component" option.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
chrisr
Posts: 5
Joined: Sat Jul 07, 2012 12:21 am

Re: Trial period-Possible to remove registry key as pre-inst

I set the component to 64-bit component as you instructed but it still will not remove these keys. It still works with the XP box, but not the 7 one.

I attached a couple screenshots. The first shows the 64-bit component section, that's the right setting, correct?
removalprobs1.jpg
removalprobs1.jpg (72.06 KiB) Viewed 9666 times
The second one is of the win 7 box and one of the keys I need to remove. Just in case that helps.
removalprobs2.jpg
removalprobs2.jpg (113.98 KiB) Viewed 9666 times
Thanks so much for all your help so far!

P.S. I also attached the verbose log in case it will be helpful.
Attachments
testremoval.log
(217.6 KiB) Downloaded 289 times
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Trial period-Possible to remove registry key as pre-inst

Hello,

Actually, we're going to need the project file (.AIP) this time as well. Can you please send it to support at advancedinstaller dot com so we can investigate it?

Also, does the behavior manifest only on 64-bit machines? Does it manifest on other similar Windows 7 clean machines as well?

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
chrisr
Posts: 5
Joined: Sat Jul 07, 2012 12:21 am

Re: Trial period-Possible to remove registry key as pre-inst

mihai.petcu wrote:Hello,

Actually, we're going to need the project file (.AIP) this time as well. Can you please send it to support at advancedinstaller dot com so we can investigate it?

Also, does the behavior manifest only on 64-bit machines? Does it manifest on other similar Windows 7 clean machines as well?

All the best,
Mihai
I have sent it over.

Yes, so far it only appears to have problems using a windows 7 64-bit machine. I am using an virtual machine and image, so it is a fresh, clean install when I test it.
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Trial period-Possible to remove registry key as pre-inst

Hi Chris,

We analyzed this, and managed to reproduce the problem. It is caused by a bug in Advanced Installer, thank you for bringing this to our attention.
The fix will be included in the next version, which is scheduled for release in the next weeks.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
chrisr
Posts: 5
Joined: Sat Jul 07, 2012 12:21 am

Re: Trial period-Possible to remove registry key as pre-inst

Bogdan wrote:Hi Chris,

We analyzed this, and managed to reproduce the problem. It is caused by a bug in Advanced Installer, thank you for bringing this to our attention.
The fix will be included in the next version, which is scheduled for release in the next weeks.

Regards,
Bogdan
Glad to hear that! I'm looking forward to the new/fixed version.

Return to “Common Problems”