PDA

View Full Version : Update multiple instances (InstallScript Project) without admin privleges



vomatec
01-20-2010, 06:27 AM
Hi everybody,

we have an InstallScript Project supporting multiple instances. Now we wan't that our users are able to update their installations without having admin privileges.

Unfortunately when an unser without admin privileges starts the setup there is no possibility to choose the instance. He can only install a new instance (that works). When an administrator runs the setup he sees all instances (including the one installed by the non-admin user).

If we pass the instance's guid to the setup with "/ig{guid}" everything works fine for normal users, too. So the problem seems to be that InstallShield doesn't search for existing instances (even thoose installed by the same user!) when started by a non-admin user.

The same behavier can be seen when enabling multiple instances for the ALLUSERS Sample Project.

Our only idea for a workaround is to force non-admin users to pass the instance's guid.

Does anybody have a clue how InstallShield can be told to search for other instances when executed by a normal user?

Thanks!

vomatec
01-22-2010, 08:27 AM
Update: It was a mistake, that the /ig switch works for non admin users. In that case an error message is displayed because the instance was not found.

Any ideas anybody?