Quote:
Originally Posted by
webman
For a package like this to uninstall, I think you'll need a section in the package .ini file to specify which command to run and which parameters to use for the uninstall. I imagine there is some automated msiexec command you can run to uninstall it, or there could be an executable in the installation like uninst.exe.
If I remember rightly, there is a tab in the CC4 properties dialog where you can enter the command or parameter for this. Or, if you do a fresh version of the package once you've worked out an automated way to remove it, I think the .ini file entry is "UninstallCommand". I can't quite remember exactly, but there is a package .ini file reference on the RM support site.
I have finally installed solidworks here was my actions:
Firstley I created a package for Microsoft VSTA which is a pre req for soid works:
I grabbed the .msi from the prereq folder in the admin image which was created and made a blank file called Microsoft VST 2005.ini and then inserted the following:
[Package]
WIPackage=vsta_aide.Msi
Description=Package for Microsoft VSTA 2005
OS=5.WS
ImmediateReboot=1
I then imported this into management console:
- In management console, go to FileāImportāPackage.
- Choose Community Connect 3 Package
- Click Browse
- Select the Microsoft VSTA 2005.ini you just created
- Click Open
- Click OK
Next for solidworks I had to create an MST fille and an .ini file to point to the mst file. Thankfully solidworks have an file called swcreatemst.exe
I created the mst with the following command once browseing to the directiry where the swcreatemst.exe exists the command was:
- SwCreateMST.exe SolidWorks.Msi INSTALLDIR="C:\Program Files\Solidworks" SOLIDWORKSSERIALNUMBER="xxxx xxxx xxxx xxxx" ADDLOCAL=English,SampleFiles,Manuals,RealViewGraph icsdisplay,SolidWorks,FeatureWorks,InstantWebsite, PhotoWorksRender,ScanTo3D,SolidWorksAnimator,Solid WorksDesignChecker,SolidWorksRoutedsystems,SolidWo rksToolbox,SolidWorksUtilities,TolAnalyst,CircuitW orks,DWGPartner,CoreSolidWorksTaskScheduler,Exampl eFiles,HelpFiles,Intel_Modules_AgeiaX86 ENABLEPERFORMANCE=0 INSTALLWDS=0 SERVERLIST=25734@server OFFICEOPTION=3
Items in bold need to be filled out as it suggests. This creates an file called solidworks.mst in the solidworks main parent directory. Next you need to create an package.ini file to point to this and import the mst into rm mangement console
[Package]
WIPackage=SolidWorks.Msi
Description=Package for Solidworks 2010 SP2.1
OS=5.WS
WITransform=SolidWorks.Mst
Dependencies=Microsoft VSTA 2005
Note: Make sure that the solidworks.mst file is in the correct folder where the package.ini file is created otherwise this will not work.
I also had to add a software restriction policy using a path to %userprofile%\local settings\temp\solidworkslictemp.*
Now import the package into managment console by selecting file-import-package browse to the .ini file, click open click ok and this will take about 15mins to import as this is a huge package.
All done.
Hope this helps,
JHLEHS