Disappearing Registry Entries - Advanced Installer Community
WesCutting
Posts: 14
Joined: Wed Jul 23, 2014 5:07 pm

Disappearing Registry Entries

Has anyone experienced issues with registry entries persisting between various Advanced Installer sessions? For example you create various registry entries, save the project, close the project, and reopen the project only to find your work didn't save. That is just one instance of it happening, I've seen it occur when I collapse and expand the tree structure for the registries I'm working on. It happens inconsistently too so I'm unable to determine what is the common factor here. This is something that has been plaguing my installer development for the past month or so. At first I chalked it up to user error but after half a dozen occurrences I assume it is nothing I am doing. It's getting frustrating having to enter the same entries in over and over. Plus it makes Advanced Installer nearly impossible to use in an automated build process if I have to manual confirm the registry entries are all in place...
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Disappearing Registry Entries

Hello,

I'm not sure how this can happen. From what I know until now this behavior wasn't encountered/reported neither by us nor by any other Advanced Installer user. Can you please try to find out a pattern/test case when this issue appear (even if it is not 100% consistent)? I'm afraid the only way to investigate the root cause of this behavior would be to replicate it on our test machine. Therefore any hint you can offer or discover could be a good starting point.

Also, please tell us which version of AI you are using.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
WesCutting
Posts: 14
Joined: Wed Jul 23, 2014 5:07 pm

Re: Disappearing Registry Entries

I'm using v10.9.1 build 55086

Attached are two images. Registry 1 was the state of the registry panel right before I closed the project, after I had saved. Registry 2 is the current state of the registry. I simply closed Advanced Installer and reopened it to get these results. Before closing I verified it saved, the saving popup came and went, and the * at the top of the window went away.

I don't know what to tell you as far as replicating it on your machine. I have about 8 pairs of screen shots showing the pre close and post open state of the registry and this was the first pair to show the difference. It even inconsistently removes registry values, for instance the registry values that end up missing are never the same exact set though there is often overlap.
Attachments
After Immediate Reopen
After Immediate Reopen
Registry2.PNG (58.84 KiB) Viewed 5639 times
After Save, Before Close
After Save, Before Close
Registry1.PNG (73.52 KiB) Viewed 5639 times
WesCutting
Posts: 14
Joined: Wed Jul 23, 2014 5:07 pm

Re: Disappearing Registry Entries

Okay this next case I'm not even sure how to explain, values are appearing/duplicating and disappearing randomly. Lucky the keys stay in place this time around for whatever reason.

Filing name convention: no prefix Typelib*.png is first, prefix N-Typelib*.png is second and prefix NN-Typelib*.png is third.

Files will be place in order by numbers, so Typelib1.png then N-Typelib1.png then NN-Typelib1.png followed by Typelib2.png and so on.

I didn't even modify the project in this case. I opened the project fresh, took the screenshots, closed and reopen, took more screenshots then repeated for the third set of screenshots.

I've continue to reopen the project, each time the registry values are in a different state. The one consistency right now is that there are always 6 (Default) values, they are just never in the same spot. I also have only enter in 4 (Default) values, yes they should be identical. <--- this consistency is no longer consistent.

The next set of number represents the number of occurrences of the (Default) value in the TypeLib Key under each CLSID Key GUID:
1 3 0 1 Typlib*.png
1 2 0 2 N-Typlib*.png
2 3 0 1 NN-Typlib*.png
1 2 1 2
1 3 1 1
2 2 0 2
2 2 0 2
2 2 1 1
2 3 1 2
2 2 0 2
1 2 1 2
1 3 0 1
2 3 1 1
2 2 0 2
Attachments
Typelib1.PNG
Typelib1.PNG (74.92 KiB) Viewed 5637 times
N-Typelib1.PNG
N-Typelib1.PNG (74.29 KiB) Viewed 5637 times
NN-Typelib1.PNG
NN-Typelib1.PNG (77.1 KiB) Viewed 5637 times
Last edited by WesCutting on Mon Aug 18, 2014 8:18 pm, edited 4 times in total.
WesCutting
Posts: 14
Joined: Wed Jul 23, 2014 5:07 pm

Re: Disappearing Registry Entries

Continued from last reply
Attachments
Typelib2.PNG
Typelib2.PNG (89.73 KiB) Viewed 5636 times
N-Typelib2.PNG
N-Typelib2.PNG (77.86 KiB) Viewed 5636 times
NN-Typelib2.PNG
NN-Typelib2.PNG (85.47 KiB) Viewed 5636 times
WesCutting
Posts: 14
Joined: Wed Jul 23, 2014 5:07 pm

Re: Disappearing Registry Entries

Continued from last reply

After another reopen this section had values popup
Attachments
Typelib3.PNG
Typelib3.PNG (74.31 KiB) Viewed 5635 times
N-Typelib3.PNG
N-Typelib3.PNG (73.07 KiB) Viewed 5635 times
NN-Typelib3.PNG
NN-Typelib3.PNG (73.18 KiB) Viewed 5635 times
Last edited by WesCutting on Mon Aug 18, 2014 7:52 pm, edited 1 time in total.
WesCutting
Posts: 14
Joined: Wed Jul 23, 2014 5:07 pm

Re: Disappearing Registry Entries

Continued from last reply
Attachments
Typelib4.PNG
Typelib4.PNG (75.06 KiB) Viewed 5635 times
N-Typelib4.PNG
N-Typelib4.PNG (75.17 KiB) Viewed 5635 times
NN-Typelib4.PNG
NN-Typelib4.PNG (75.4 KiB) Viewed 5635 times
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Disappearing Registry Entries

Hello Wess,

From what I see in your screenshots the related registries could be a reflection of our "Auto register file (DLL,OCX,etc)" option (if it is enabled for DLL file(s) added in "Files and Folders" page). If the registration synchronization is enabled, then your DLL registration registries will be extracted for the DLL files (and added/refreshed in "Registry" page) every time the project is opened and before build. However, I'm not sure what would be the case when the registration registries could change between a project open + save and reopen. This could happen only when the DLL source files are changed in the meantime between the open +save and reopen the project.

Can you please check if you have checked the "Auto register file (DLL,OCX,etc)" option with sync enabled for your DLL files? If so, can you please disable the registration synchronization and see if the behavior still persists?

Also, can you please send us the .aip (project file) which replicates the related behavior to support at advancedinstaller dot com so we can take a look over its settings?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”