Community Forums
Page 1 of 2 12 LastLast
Results 1 to 5 of 9

Thread: Error 1628 with "Run As" under Win XP

  1. #1
    Join Date
    Dec 2002
    Posts
    22

    Error 1628 with "Run As" under Win XP

    I evaluate the Dev Studio 9.
    When running the setup with "Run AS.." under WinXP Pro, I get the 1628 error.
    I got this issue in IS7, It does not happens in IS8 SP2 but it
    re-occur in this version.

    Can anyone help?

  2. #2
    Join Date
    Sep 2002
    Location
    Schaumburg, IL USA
    Posts
    85
    Are you using an InstallScript or an InstallScript MSI setup project?

    Are you using the /runas command line param for setup.exe?

  3. #3
    Join Date
    Sep 2002
    Location
    Schaumburg, IL USA
    Posts
    85
    This should not happen with InstallScript MSI setups if the /runas command line parameter to setup.exe is used. I have verfied this in DevStudio 9.

    The fix made in Dev8 SP2 was to add this param to InstallShield's setup.exe so that it will handle being run from the RunAs service.

    The easiest way to test this is to create a shortcut to setup.exe that executes: "Setup.exe /runas". Launching the shortcut on XP from a non-admin account will bring up the RunAs dialog. Enter the user info into RunAs and the setup should execute without error.

  4. #4
    Join Date
    Dec 2002
    Posts
    22
    HI Jonathan,
    Thanks for you quick reply.
    I Use InstallScript project and I launch it through "Shift + right click" on the setup.

    I still gets the 1628 error.

    I build a new InstallScript MSI project and I still gets the 1628 error.

    * My install contains MDAC 2.7 merge module and the installation fails to register ubder HKLM (Uninstall key etc...)

    Thanks
    Barak
    Last edited by Barakl; 10-27-2003 at 07:26 AM.

  5. #5
    Join Date
    Sep 2002
    Location
    Schaumburg, IL USA
    Posts
    85
    For InstallScript MSI projects, you need to pass the '/runas' parameter to setup.exe. Just running setup through the RunAs service (from the RC menu, or using the Windows RunAs exe) will result in the 1628 error. This is an unfortunate limitation, but for now it is the only way to run an InstallScript MSI setup through the RunAs service.

    Setup.exe should automatically handle the RunAs situation without requiring the user to pass a parameter, and this is something that is being researched by our development team. For reference, this issue has been assigned WO 1-CS44D.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •