d.caddell
Posts: 6
Joined: Tue Mar 12, 2013 3:51 pm

Network install Windows 7

I am working on an installer that needs to be installed several different ways. Here are the different installs that need to be available:

Directly to C:/program files/ (all user install)
A network mapped drive
user profile (user only install)

The issue I am running into is some users don't understand permissions and how they work so when they go to install to a mapped network drive they are getting an error that says Invalid drive letter. UAC is elevating their privledges and causing the install to fail because the elevated user doesn't have the drive mapped. Is there an easier way to setup my installer that gives them an option to select network install and supress the UAC while still giving them the option to install to C:/ or their profile??

I am on version 9.8 of Advanced Installer. Installation type is Per-machine if user in administrator, per-user otherwise.
Eusebiu
Posts: 4959
Joined: Wed Nov 14, 2012 2:04 pm

Re: Network install Windows 7

Hi and welcome to Advanced Installer forums.

Thank you for your interest in Advanced Installer.

In order to achieve what you want you can try the following settings:
- make sure that the "Run as administrator" option is not checked in the Install Parameters page
- make sure that you have no registry in the "HKEY_LOCAL_MACHINE" folder from the Registry page
- go in the Dialogs page and add the "InstallTypeDlg" dialog for the user to have the possibility to choose the installation type

In case the user will choose the "Only for me" option from the "Installation Type" dialog, the UAC dialog will not appear anymore.

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
d.caddell
Posts: 6
Joined: Tue Mar 12, 2013 3:51 pm

Re: Network install Windows 7

Eusebiu wrote:Hi and welcome to Advanced Installer forums.

Thank you for your interest in Advanced Installer.

In order to achieve what you want you can try the following settings:
- make sure that the "Run as administrator" option is not checked in the Install Parameters page
- make sure that you have no registry in the "HKEY_LOCAL_MACHINE" folder from the Registry page
- go in the Dialogs page and add the "InstallTypeDlg" dialog for the user to have the possibility to choose the installation type

In case the user will choose the "Only for me" option from the "Installation Type" dialog, the UAC dialog will not appear anymore.

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

Best regards,
Eusebiu
While this does work it seems to confuse the user. They think that the Only for Me install option won't let other users access the manual on the shared network drive. Is it possible to modify this text on the dialog window?
Eusebiu
Posts: 4959
Joined: Wed Nov 14, 2012 2:04 pm

Re: Network install Windows 7

Hi,
Is it possible to modify this text on the dialog window?
Yes. In order to modify the text you can go in the Dialogs page, select the "Only for me ([LogonUser])" static text from the "Installation Type" dialog you added and in the "Properties" pane write the text you want in the "Display -> Text" text field.

Let us know if this helped.

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

Return to “Building Installers”