Hello,

I am trying to Install AdminStudio11.0, changing AdminStudio shared drive to mapped network drive and applying license for silent installation.

I could see the license key getting reflected in registry, but if I merge the registry after simply installing adminStudio trial version with default options, this doesn't work.

I am stucked since quiet long time, please help.

 

Regards,

Smita

Answer Summary:
Pass the license key directly to the installer instead of just copying over the registry keys
Cancel
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Answers

1

If it's for a silent installation, are you sure there's no way to pass the license key directly to the installer instead of just copying over the registry keys?

Answered 05/03/2012 by: pjgeutjens
Red Belt

  • I did not find any switch for passing license key. I tries some common switches like PID, PRODUCT_ID. PRODUCT_ID was the one, which was working for extracted msi. but my app owner don't want to use msi. he want it to be installed using exe only. same switch doesn't work for exe.
  • if you're lucky you might be able to run the setup using the flag
    -v"/qn PRODUCT_ID=xxxxxx"
    to pass arguments to the contained MSI. Otherwise maybe an answerfile could be generated using -r parameter on the setup.exe It all depends what kind of setup.exe it is, but this being the Adminstudio installer... :)

    EDIT: just noticed Anders suggested the same :-)
Please log in to comment
1

I did not find any switch for passing license key. I tries some common switches like PID, PRODUCT_ID. PRODUCT_ID was the one, which was working for extracted msi. but my app owner don't want to use msi. he want it to be installed using exe only. same switch doesn't work for exe.

Answered 05/03/2012 by: smitajatte28
White Belt

  • If PRODUCT_ID works for the MSI, try using the exe with
    /S /v/"PRODUCT_ID=123456789 /qn"

    Note that there's no space between /v and /"PRODUCT_ID=123456789 /qn"

    The /v switch is used to pass properties to the MSI, so if you have a property for shared folders, you could add that also
  • There is an Appsearch based CA for assigning Shared drive.
    My main concern is applying license.
    I am trying above solution for license part. It installs Installshield and 4 components of AdminStudio:Tuner, Compatibility Solver, Quality Monitor and Application Isolation Wizard. then it shows msiexec help dialogue(One which is shown if we do msiexec /?) during the installation. and terminates the installation.
    :(
  • are you sure you need the 2nd slash after /v?
  • I'm pretty sure you do. If your not making any other changes of properties, isn't it:
    setup.exe /s /v/qn

    I'm not sure if there's any difference between -v/qn and /v/qn.

    Edit: I just realized what you were thinking of, and I'm still pretty sure you need the / before qn inside the quotes. As /v passes the arguments to the MSI and if you have multiple arguments they need to be inside the quotes. My guess is that if you don't put a / before qn, WI will interpret the qn as a public property, which it's not.
  • Below was taken from http://msdn.microsoft.com/en-us/library/aa259299(v=sql.80).aspx.
    As an example...

    MicrosoftSQLServerNotificationServices -s -a -s
    -v"/qn ADDLOCAL=EngineComponents,DBComponents
    SQLSERVERNAME=computer\sql_instance INSTALLDIR=\"c:\NS\""
  • you are right, you need the / before /qn, but your first post contained /v/"PRODUCT_ID=123456789 /qn", see that / right after the v? I don't think that's right :)

    The parameter is /v followed by MSIEXEC params, contained in quotes if there are spaces, so it can be /v/qn or /v"/qn PROPERTY=value" etc...

    anyway, nitpicking :-)
  • Hehehe, you are right Pieter.
    I must have had a glitch in my synapses there. Thanks for the correction :)
Please log in to comment
Answer this question or Comment on this question for clarity