Registry keys are not created during installation - Advanced Installer Community
lars.ugleberg
Posts: 4
Joined: Sun Jul 14, 2013 4:16 pm
Location: Denmark
Contact: Website

Registry keys are not created during installation

I have created a fairly standard installation, which comes with two standard keys intended to be created in the registry. The first few times I ran the installation, the keys were created, but the specified values were not added to the keys. However, the last few times I have tested the installation, the keys have not even been created. What am I doing wrong?
Attachments
setup.aip
My setup project file
(48.14 KiB) Downloaded 341 times
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Registry keys are not created during installation

Hi and welcome to Advanced Installer forums.

I've tested your project, but it worked well to me. Please keep in mind that on a 64-bit Operating System the registry entries are stored in the "WOW6432Node" when a 32-bit package is installed.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
lars.ugleberg
Posts: 4
Joined: Sun Jul 14, 2013 4:16 pm
Location: Denmark
Contact: Website

Re: Registry keys are not created during installation

Thanks for the welcome, and for your quick response! I was not ware that 32-bit apps were placed under that node! Just checked, and it works fine - just as you said!
lars.ugleberg
Posts: 4
Joined: Sun Jul 14, 2013 4:16 pm
Location: Denmark
Contact: Website

Re: Registry keys are not created during installation

Eusebiu wrote:I've tested your project, ...
By the way, did you get a warning (1910) about not being able to remove the shortcut? This is my next little hurdle, so if you have any advice about this, please let me know!

Best regards,
Lars
Attachments
warning.jpg
warning.jpg (31.39 KiB) Viewed 6058 times
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Registry keys are not created during installation

Hi Lars,

I didn't get that warning because I removed the files from your project in order to be able to build it (the project cannot be built with missing resources).

However, I remember that this problem was very much debated in the past and we finally found that there was a Windows problem. You can read about this in the Warning 1910. Could not remove shortcut thread.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
lars.ugleberg
Posts: 4
Joined: Sun Jul 14, 2013 4:16 pm
Location: Denmark
Contact: Website

Re: Registry keys are not created during installation

Hello, thanks again - the previously suggested solution involving using a custom action works perfectly!

Best regards,
Lars
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Registry keys are not created during installation

You're welcome. I'm glad you got this working.

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

Return to “Common Problems”