/build/static/layout/Breadcrumb_cap_w.png

source redirection of MSI packages

We were using Computer Associates Sofware Delivery Option(SDO) to send out our MSI packages. We are now switching to SMS 2003. I am trying to figure out a way to redirect our source for old MSI packages from CA SDO to SMS 2003 without having to import all our old packages into SMS 2003. The old packages I am referring to are packages of old versions that we no longer use. Basically, if we try to uninstall an old package through add remove programs it can't find the source because we are no longer using SDO and the place where the MSI's once resided does not exist anymore. So on the uninstall it is looking for the old source of the MSI from when it was originally installed. I do not want to have import all our old MSI packages to be able to uninstall an old MSI. Any help or ideas would much appreciated. Thank you in advnace.

0 Comments   [ + ] Show comments

Answers (2)

Posted by: WiseUser 20 years ago
Fourth Degree Brown Belt
1
Dim oInst

Const PRODCODE = "{350C97B0-3D7C-4EE8-BAA9-00BCB3D54227}" '(webfolders)
Const USER = "" 'leave blank for "Machine" install
Const NEWSRC = "D:\MySource\"

Const INSTALLLEVEL = 65535
Const msiInstallStateAbsent = 2

Set oInst = CreateObject("WindowsInstaller.Installer")

oInst.AddSource PRODCODE, USER, NEWSRC

oInst.ConfigureProduct PRODCODE, INSTALLLEVEL, msiInstallStateAbsent

Set oInst = Nothing
Posted by: WiseUser 20 years ago
Fourth Degree Brown Belt
0
Sorry, I forgot to mention that the script could easily be amended to loop through all installed MSI packages, and add a new source for each one (to be used at a later date).

You could specify a root source folder, and copy every package in a subfolder named after the "packagecode".
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ