/build/static/layout/Breadcrumb_cap_w.png

Silent Install deployment

New to packaging and was directed to appdeploy.com by the microsoft technet forums

I normally install our software silently using the ff command line

/setup.exe /s /f1"C:\SetupFolder\ISSFiles\setup.iss" /config"C:\SetupFolder\ConfigInfo\config.xml" /serial"xxxxxxxxxxxxxxxx"

I was wondering if any one knew how to translate this into a command line instruction for software deployment with SCCM?
I have the .iss files and .xml files in the same folder as the setup.exe. Testing silent install deployment with SCCM and can't seem to figure this out.
Any help is deeply appreciated.
Thanks

0 Comments   [ + ] Show comments

Answers (2)

Posted by: MSIPackager 13 years ago
3rd Degree Black Belt
0
Hi EnamT

Personally I'd use a vb or command line script so that you can pick up the current folder to use as part of your command line install... here's a crude example which you should be able to build on to get your package installed, whether its from the DP or cached locally...

Option Explicit

Dim objShell, strScriptPath, strCmd
Set objShell = CreateObject("WScript.Shell")

'Get current script location
strScriptPath = CreateObject("Scripting.FileSystemObject").GetAbsolutePathName(".")

'Install vendor setup package
strCmd = """"&strScriptPath&"\setup.exe"""&" /SILENT"
objShell.Run strCmd, 1, True

Set objShell = Nothing


There are way better scripters than I on here, they will probably be able to produce something more elegant but this should work for you. Yes Ian, I know there is no error trapping or logging - like I said it's something to build on [;)]

Hope it helps,
Rob.
Posted by: EnamT 13 years ago
Yellow Belt
0
Thank you so much Rob, I figured it out, very simple really. SCCM was sending the package to a different location and all i had to do was change my command line to reflect that location change (or manually move the copied folder to the right location) to perform the install

Thank you again for taking the time!
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
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