cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
dmodiwirijo
Level 3

Regasm only works for the user who was installing...

Hi all,

We have made an installer which installs only correctly for the user who has succesfully finished the installation.

When admin has finished the installation the poweruser cannot access the .NET from umanaged code like VB6-dlls and MSExcel (and vice versa). If we start regasm from commandline to register the dlls on target machine then all users can use the .NET dlls from MSExcel.

Why? Are there some little tweaks we have to do to create a .msi which registers the .NET correctly for all user?

Settings for the .NET dlls in IS2009:
.NET scan at build? yes
.NET COM interop? yes/no
Shared? yes/no
other .NET settings are set to No, no class arguments and no reg files merged.

regards
Labels (1)
0 Kudos
(2) Replies
girishkatti123
Level 7

use ALLUSERS=2 property. Using this property the installation is on Per Machine installation.
You have other Switches too like ALLUSERS=0 & ALLUSERS=1.
More information on these switch can be found in MSI help.
0 Kudos
dmodiwirijo
Level 3

It Works 🙂
0 Kudos