rrajasankar
Posts: 29
Joined: Wed Aug 01, 2012 4:05 pm

Custom Installation settings

Hi,

1. We included the Firebird Application as "Launch attached file without sequence mode" and called that function as "Execute Custom Action" when we click the Dialog "Next" Button. It works fine, but we need to configure the Firebird Application installation only for "Administrator" mode, not for all users.

If we specified the "Per-User only (with administrator rights required)" option, our server pack installed correctly for Administrator only, but Firebird Application installed for all users. We need to install firebird only for Administrator(same as our Server).

2. Same case, we included the Crystal Report.msi as "Install MSI relative to package" mode, that also installed for all users. We need to install Crystal Report only for Administrator(same as our Server).

How to configure this installation settings?

Thanks,
Raja
Eusebiu
Posts: 4931
Joined: Wed Nov 14, 2012 2:04 pm

Re: Custom Installation settings

Hi Raja

Your installation is correctly configured, but the "Installation Type" of your package does not affect the "Installation Type" of the applications you want to install through "Custom Actions". They have their own "Installation Type" set by their manufactures.
You can try to contact the vendors of the applications so they can tell you if there is any command line you can write to install the applications only for Administrator.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
rrajasankar
Posts: 29
Joined: Wed Aug 01, 2012 4:05 pm

Re: Custom Installation settings

Hi,

Thanks for your reply.

When we install our application as "Anyone who uses this computer" mode, both installation and uninstallation was fine..During uninstallation time, these Firebird & Crystal Report applications also removed from that machine.

But, when we install our application as "Only for me" mode, our pack installed for current user only and the installation is also fine. But the uninstallation getting failed due to lack of permissions.

We suspect that the removal of Crystal Report & Firebird applications are the issues.

We noted that Crystal Report & Firebird getting installed for all users.

Herewith i have attached the uninstallation log file for your reference. Please check it.
Attachments
uninstall.log
Uninstallation log file
(120.39 KiB) Downloaded 311 times
Eusebiu
Posts: 4931
Joined: Wed Nov 14, 2012 2:04 pm

Re: Custom Installation settings

Hi

The uninstallation returns the code 1625 "This installation is forbidden by system policy. Contact your system administrator." Did you choose the installation type "Per-machine if user is administrator, per user otherwise"?

In case you have some custom actions, registry, prerequisites that you want to modify later you need administrator privilege.
So, if you set the installation type "Per-User only (with administrator rights required)" the uninstallation should work fine.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
rrajasankar
Posts: 29
Joined: Wed Aug 01, 2012 4:05 pm

Re: Custom Installation settings

Thanks for your reply.

Our requirement is "Per-machine if user is administrator", if we select "Only for me" mode, the installation was fine, but uninstallation need privilege settings..

How to set the Administrative privilege during uninstallation?

Awaiting for your reply as soon..


Thanks,
Raja
Eusebiu
Posts: 4931
Joined: Wed Nov 14, 2012 2:04 pm

Re: Custom Installation settings

Hi Raja,

This type of installation "Per-machine if user is administrator, per-user otherwise", installs the package per-user when you select the "Only for me" option or when the user is not an administrator.

So, as I said before, the only option is to set the installation type "Per-user only (with administrator rights required)" or "Per-machine only (fails if user is not administrator)".

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

Return to “Common Problems”