Managed Installation using a zip file


I am trying to deploy a managed installation on the KB1000. The software to be installed is a zip file that contains the setup.exe and a number of other needed files. In the configuration I select the "Configure Manually" and provide the following Full Command Line: C:\Program Files\KACE\KBOX\downloads\577\setup.exe -s -f2 setup.log

After the managed install tries to work, I go to the server in question and confirm that the contents of the zip file are in the correct place and match the command line string above. However, the debug.log shows the following which seems to indicate its not looking in the correct place for the software on the server. It almost lookes like its parsing the space between "Program" and "Files". Any suggestions on the format of the Full Command Line string? Or, am I barking up the wrong tree in regards to the actual issue?


new Process C:\Program Files\KACE\KBOX\downloads\577\setup.exe -s -f2 setup.log
[04/26/2010 19:18:19] msicmd: 'C:\Program'
[04/26/2010 19:18:19] msicmdextra: 'Files\KACE\KBOX\downloads\577\setup.exe -s -f2 setup.log'
[04/26/2010 19:18:19] msiarg: '
[04/26/2010 19:18:19] msiargextra: '
[04/26/2010 19:18:19] Exception: The system cannot find the file specified
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at KBClient.MIPackageMgr.launchProcess(String command, String parms, Int32 adminInstall, String workingDirectory)
[04/26/2010 19:18:19] Exception cont.: System
[04/26/2010 19:18:19] --- NO FILE ---

0 Comments   [ + ] Show comments

Answers (6)

Posted by: airwolf 12 years ago
Red Belt
It is having issues with the space in "Program Files". Either wrap "C:\Program Files\KACE\KBOX\downloads\577\setup.exe" in quotes or just use "setup.exe -s -f2 setup.log". The full path requirement of using zip files doesn't necessarily require the FULL path - you just have to specify the executable along with any command line parameters.
Posted by: beljohns 12 years ago
Senior Yellow Belt
I had tried wrapping the full path with double quotes, but the results were similiar to what I posted initially. I just attempted the 2nd item you suggested where the path isn't specified, and below are the results in the debug.log. This looks much better, but still doesn't seem to be looking in the correct place.

[04/26/2010 19:33:17] new Process setup.exe -s -f2 setup.log
[04/26/2010 19:33:17] msicmd: 'setup.exe'
[04/26/2010 19:33:17] msicmdextra: '-s -f2 setup.log'
[04/26/2010 19:33:17] msiarg: '
[04/26/2010 19:33:17] msiargextra: '
[04/26/2010 19:33:17] Rewrote process: setup.exe -s -f2 setup.log
[04/26/2010 19:33:18] --- NO FILE ---
Posted by: airwolf 12 years ago
Red Belt
That doesn't look like an error to me. What does setup.log say in "C:\Program Files\KACE\KBOX\downloads\577" on the client?
Posted by: beljohns 12 years ago
Senior Yellow Belt
The "[04/26/2010 19:33:18] --- NO FILE ---" is what I believed was stating it still couldn't find the file.

Going back to what you suggested, I selected "Configure Manually" and for the "Full Command Line" used: 'setup.exe -s f2 setup.log', and deselected "Run Command Only" and now it seems to be working. The debug.log output is as follows:
new Process setup.exe -s -f2 setup.log
[04/26/2010 19:43:47] msicmd: 'setup.exe'
[04/26/2010 19:43:47] msicmdextra: '-s -f2 setup.log'
[04/26/2010 19:43:47] msiarg: '
[04/26/2010 19:43:47] msiargextra: '
[04/26/2010 19:43:47] Rewrote process: C:\Program Files\KACE\KBOX\downloads\577\setup.exe -s -f2 setup.log

Thanks for pointing me in the right direction.
Posted by: KevinG 12 years ago
Red Belt
new Process C:\Program Files\KACE\KBOX\downloads\577\setup.exe -s -f2 setup.log

The above is just telling you that is trying to execute "setup.exe -s -f2 setup.log" which just happens to be in C:\Program Files\KACE\KBOX\downloads\577\ since it is a managed install. So no, you do not need to worry about the output in the log showing a space in C:\Program Files

check that your zip file did not include a subdirectory and everything is at the root of the zip file
Posted by: GillySpy 12 years ago
7th Degree Black Belt
For future post readers: don't forget covering the bases with this FAQ:
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


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