PDA

View Full Version : Installation under a user fails



Maurice
11-14-2003, 04:44 AM
Hi,

I'm having a problem for over a weak now, about installing our program with installshield.

Our project is a Installscript MSI project, converted from our registered Developer7.4 program.

Our customer wants to install the application under a normal user, with the option Run As, where you can enter an administrator login to run the setup.exe.

In our testlab, when we try installing with the 'Run As' option (in the Rightmousebutton-menu at the setup.exe in explorer), everything seems to be fine, until the end of the setup, where we get the Messagebox: 1628: Cannot complete installation on scriptbasis, and our files copied in the script get a roll back (they dissapear from the installation folder).

I already comment out all the commands in the scripts, but the problem remains, but for some reason, when we login at windows under an administrator account, everything goes fine...

I hope somebody can help me out,

Thanks, Maurice.

RichAquino
11-14-2003, 04:18 PM
Hi Maurice,

This is a known issue. This command line should do what you want:

setup.exe /RunAs

Rich