same registry key - 32/64 bit - Advanced Installer Community
bchetana
Posts: 95
Joined: Sat Dec 01, 2012 11:36 am

same registry key - 32/64 bit

Hi ,

I have a problem in creating the same registry key which loads on a condition

I have two com exposed dll's. One for 32bit and one for 64bit which shall have the same registry entrys after installtion. This is conditiond to office bit.

To do this, I did in following way:

Ist am loading the 32bit dll and registering it to "RegisterCom -> Registration ->Edid File" option from files and folder. After doing this all the registery entries are registerd. Now from Install Parameters page i am creating a custom property for each of the entry as said in following loaction

http://www.advancedinstaller.com/user-g ... istry.html

Now I am adding these keys in regisry. Please see the following image for info. Then moved all the 32bit entries to these keys.

Now I am loading the 64bit dll and registering it to "RegisterCom -> Registration ->Edid File" option from files and folder. After doing this all the registery entries are registerd. [the compleate pic is in attachment]. All is fine till now. But onece i buld the project all the 32bit keys are not loaded . Why this behaviour ?
How can i over come this issue ???
Attachments
ScreenHunter_03 Feb. 22 10.23.gif
ScreenHunter_03 Feb. 22 10.23.gif (8.16 KiB) Viewed 7861 times
ScreenHunter_02 Feb. 22 10.20.gif
ScreenHunter_02 Feb. 22 10.20.gif (6.03 KiB) Viewed 7862 times
ScreenHunter_01 Feb. 22 10.20.gif
ScreenHunter_01 Feb. 22 10.20.gif (36.46 KiB) Viewed 7862 times
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: same registry key - 32/64 bit

Hello,

Can you please disable the registration synchronization for the related dll files and see if the behavior still persist?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
bchetana
Posts: 95
Joined: Sat Dec 01, 2012 11:36 am

Re: same registry key - 32/64 bit

Ya did it..

Still the issue persist...
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: same registry key - 32/64 bit

Hello,

Can you please try the following scenario:
- delete all the extracted registry entries, in the "Registry" page, of the related DLL files
- remove the above DLL files from "Files and Folder" page, then add them back
- enable the 32-bit DLL "Auto register file" option with the synchronization disabled
- move its extracted registry entries under property-based registry key
- enable the 64-bit DLL "Auto register file" option with the synchronization disabled
- build your project

and see if the behavior still persist? If so, can you please send us the .AIP (project file) and a download link of the related DLLs to support at advancedinstaller dot com so we can investigate them?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
bchetana
Posts: 95
Joined: Sat Dec 01, 2012 11:36 am

Re: same registry key - 32/64 bit

ThnQ.. This time it worked,

I was enabling synchronization option. So faced the issue.. Thnq
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: same registry key - 32/64 bit

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

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
bchetana
Posts: 95
Joined: Sat Dec 01, 2012 11:36 am

Re: same registry key - 32/64 bit

Hi

How can I achive this by enabling the "registration synchronization for the related dll files ". I need this for auto updates... how can I achive this... ???
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: same registry key - 32/64 bit

Hello,

Unfortunately, you cannot achieve this when the registration synchronization is enabled.

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

Return to “Common Problems”