non-admin install on windows7 - Advanced Installer Community

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!

attila.gymolnar
Posts: 4
Joined: Wed Aug 29, 2012 4:00 pm

non-admin install on windows7

Hi,

As GE Healthcare we licensed your product and delivered our software for various Windows systems. Currently the license renewal process is ongoing. As our next version will be soon delivered, we need an urgent help in the following matter.

Our client software (for Windows 7) must be installed without administrator rights.
The target folder is writeable, there is nothing difficult to do. Either silently with the /qn option or with the simple UI.
The client cannot installed with non-admin rights.

I see this error message (also found in the FAQ).
> On Windows Vista and above, in order to silently install a package you must use an elevated command prompt.
> If the package is run from a non-elevated command prompt the install will fail with the "Error 1925.
> You do not have sufficient privileges to complete this installation for all users of the machine.
> Log on as administrator and then retry this installation" displayed in the install log.
This trick is not an option. Users must be able to install into their folder without restrictions.

How can we overcome this problem? The same for 7.3.1 and I see no change for 9.8.
The fix is critical for our development.


regards,

Attila GY. MOLNAR

AW Server Platform
Lead Software Integrator
email: attila.gymolnar@med.ge.com
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: non-admin install on windows7

Hi Attila,

In order to achieve what you want you can go in the Install Parameters page and select the "Per-user only" installation type.

Also, go in the Registry page and make sure that you have no registry value in the "HKEY_LOCAL_MACHINE" registry key.

If the problem persists, please send us the .AIP (project file) so we can investigate it.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
attila.gymolnar
Posts: 4
Joined: Wed Aug 29, 2012 4:00 pm

Re: non-admin install on windows7

Hi,

I have tried the "Per-user only" setting. In the registry setting there were no keys under "HKEY_LOCAL_MACHINE".
The per-user install was working, but there are two big problems.

1. Uninstall is not working. The error popup tells me "Could not access network location GE\AWS_3.0_Universal_Viewer"
Now I have a windows7 machine and I cannot remove that program.

2. How can the IT administrator install this software on machines silently, for all users?

Both problems are serious. Is there a solution in the project settings? I have attached the project template file.
To create the installer we do the following advinst.exe calls (automated or manually):
a /DuplicateProject call to copy template to real project file, and
an /edit ... /SetProperty calls to set AWSrelease, UpgradeCode, ProductVersion properties
an /edit ... /AddFolder APPDIR solomini call to fill all the files
and at last advinst.exe /rebuild SoloInstaller.aip -buildslist DefaultBuild

If you have a solution to overcome these problems please tell us. It is blocking our delivery to our customers.

regards,
Attila GY. MOLNAR
Attachments
Stemplate.aip
This is the project template file.
(23.94 KiB) Downloaded 358 times
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: non-admin install on windows7

Hi,
1. Uninstall is not working
That error occurs because you have a "Per-user only" installation type and you set [ProgramFilesFolder] to be the folder where your application is installed. This folder is used for the "Per-machine" installation, for the "Per-user" installation you must use the [AppDataFolder] folder.

You can remove the application by using the Windows Installer CleanUp Utility tool.
2. How can the IT administrator install this software on machines silently, for all users?
The application can be silently installed for all users by using one of the Deploying an MSI through GPO (this method works only with MSI packages) or Deploying the product with System Center Configuration Manager methods.
To create the installer we do the following advinst.exe calls
Please keep in mind that as it is written in the Working with Advanced Installer from the Command Line article it is recommended to work with "AdvancedInstaller.com" in command line not "advinst.exe".

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”