Installation for All Users on Windows 7 Pro Machine - Advanced Installer Community
JFRayfield
Posts: 3
Joined: Wed Sep 24, 2014 7:05 pm

Installation for All Users on Windows 7 Pro Machine

I've got an application, written in VB6, 32 bit.

I set up my installation package to create a registry entry where the path of the installation folder could be saved. My program then reads this registry entry, to determine where other files, that are also installed to the same folder, are found.

The installation package works fine. I can install it on Windows XP or Windows 7 Pro (logged in as an administrator) and the software runs fine, as long as I'm logged into the machine as an administrator.

The problem is when I try to run my program as a non-Administrator, logged into the Windows 7 Pro machine. In this situation, the registry entry that I had created during the installation process, is not there. This causes problems for my program to run properly.

How can I make sure that the registry entries that are created by the installation program (installation being done by an Administrator), are also ‘seen’ by non-administrators when they log into the machine?

John Rayfield, Jr.
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Installation for All Users on Windows 7 Pro Machine

Hi John,

A registry entry cannot be seen by another user if it was installed under the "HKEY_CURRENT_USER" registry section, however if you want a registry entry to be available for all users, you can created it under the "HKEY_LOCAL_MACHINE" registry section.

Let us know if this helped, otherwise give us more details about your scenario.

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

Return to “Common Problems”