Like the MST, want to script it.

Discussion in 'AutoCAD' started by Danny P., Jul 16, 2003.

  1. Danny P.

    Danny P. Guest

    I would like to set up an installation script that uses the MST file that
    was created when I set up the deployment. I've changed so much in the
    deployment setup that to replicate those changes in the script would result
    in an enormous script file that will be impossible to debug. Does anyone
    know how to do this/Is it possible? ADT 2004 deployment.

    So these are all the things I've tried (both give errors, and I verified the
    paths):
    'Try #1
    Dim Installer
    Set Installer = Wscript.CreateObject("WindowsInstaller.Installer")
    Installer.InstallProduct InstallPath & "ADT.msi", "TRANSFORMS=ADT2004.MST"

    'Try #2
    Dim Shell
    Set Shell = Wscript.CreateObject ("Wscript.Shell")
    Shell.Run "msiexec /i " & InstallPath & "ADT.msi TRANSFORMS=ADT2004.MST"

    Thanks in advance for your help,
    Danny Polkinhorn
    Perkins & Will
    Atlanta
     
    Danny P., Jul 16, 2003
    #1
  2. Danny P.

    Danny P. Guest

    I also tried executing the deploy.exe as though I had clicked on the
    shortcut and that wasn't working either. Turns out I was missing a quote.
    I spent half a day trying to get this worked out, but I'm all set. Argghh!

    Thanks anyway,
    -Danny
     
    Danny P., Jul 17, 2003
    #2
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.