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!

shetty_rohan
Posts: 363
Joined: Fri Dec 07, 2012 5:28 am
Location: Bangalore, India
Contact: Website

Registry permissions problem

Hi,

I have implemented the mixed registry(32 bit/64 bit) as mentioned in http://www.advancedinstaller.com/forums ... =5&t=24097.

Now we have a requirement to give access permissions for these registry keys(i.e everyone - Full Control), which does not seem to be working in 64 bit machines.

I have attached the aip file(stripped)

Steps for the reproduction
1) build the aip file
2) Now try to run the executable in windows 7-64 bit or in Vista 64 bit
3) Installer creates the registry key HKEY_LOCAL_MACHINE\SOFTWARE\TELES AG\DesktopControl\TSP
But this does not have access rights(i.e Everyone - Full Access)

Note: this works fine in 32 bit machines

I would appreciate your answer on the same as we need to release a version to the customer.

Do let me know if you have any clarifications

Regards,
Rohan
Attachments
tsp setup.zip
Sample code
(149.35 KiB) Downloaded 659 times
shetty_rohan
Posts: 363
Joined: Fri Dec 07, 2012 5:28 am
Location: Bangalore, India
Contact: Website

Re: Registry permissions problem

FYI:I also wrote one more sample program similar to the attached aip file which seems to be working fine. So I guess attached aip file has some issues.
Would appreciate your help in solving this
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Registry permissions problem

Hello Rohan,

Try setting "PROP_MANUFACTURE_64_BIT" component with "64-bit Component" option from the Organization page in the attached AIP and see if the issue persists.
If this doesn't fix the issue can you please mention if the behavior persists on all 64-bit (clean) machines?

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
shetty_rohan
Posts: 363
Joined: Fri Dec 07, 2012 5:28 am
Location: Bangalore, India
Contact: Website

Re: Registry permissions problem

Hi Mihai,

I have just tried this on Windows Vista 64 bit fresh machine. This does not seem to be working as expected.

Regards,
Rohan
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Registry permissions problem

Hello Rohan,

Can you please also enable the "64-bit Component" option for "DesktopControl" component (of your Software\[PROP_MANUFACTURE_64_BIT]\DesktopControl registry key) and see if the behvaior still persist?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
shetty_rohan
Posts: 363
Joined: Fri Dec 07, 2012 5:28 am
Location: Bangalore, India
Contact: Website

Re: Registry permissions problem

Thank you Daniel, and it worked.

Appreciate your help.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Registry permissions problem

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

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

Return to “Building Installers”