(Don’t forget to distribute your content before the deployment). With these settings in place you are finally ready for deployment. For Deployment Type use script installer once again and use install.bat and uninstall.bat as arguments (Fig 2).įor the Detection Rule I just used the Setting Type: File System (see Fig 3). Just create a new Application, use script installer and fill in the desired information. Creating the Application in SCCM is very easy now that the underlying work is done. Now that you have all files configured you are ready to start the actual deployment. With all these files in place, the directory structure looks something like this (Fig 1):įig 1. “C:\Program Files\MATLAB\R2014a\uninstall\bin\win64\uninstall.exe” -inputFile “%~dp0uninstaller_input.txt” “C:\Program Files\MATLAB\R2014a\uninstall\bin\win32\uninstall.exe” -inputFile “%~dp0uninstaller_input.txt” I cleaned up the script/batch file (as above) and the installation went just fine So yes, the Matlab directory can’t be created BEFORE the installation, period. (14:03:40) Error: Cannot install in the specified folder because there may be files remaining from a previous installation. Yet again I learned the hard way after reading logs… Here’s an example from the clients c:\temp\matlabinstall.log: Also, if the Matlab directory is present during the installation, the installation will FAIL. This step is unnecessary, as the licensing will work just fine without having to “manually” copy the. Xcopy “%~dp0license.lic” /y /e “C:\Program Files\MATLAB\R2012a\” If not exist “C:\Program Files\MATLAB\R2012a” md “C:\Program Files\MATLAB\R2012a” It also passes a “success code” to SSCM when finished. The batch file runs setup.exe from the Distribution Point and uses installer_input & active.ini as input files during the setup. “%~dp0setup.exe” -inputFile “%~dp0installer_input.txt” -activationPropertiesFile “%~dp0activate.ini” It will close when the install is finished. (I’ve modified/simplified the batch file from the guide above, as it was a bit too complicated and wouldn’t OFFĮCHO Do not close this window. They are also located/created in the root of the Matlab source files. The following files are custom batch files for installation and uninstallation in SCCM.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |