SCCM OSD using .iss
Im able to install application with this line " Setup.exe /s /SMS /f1C:\HD\UTILS\Applications\2020\setup.iss /f2C:\HD\UTILS\Applications\2020\2020.log " as long as I run it manually or adveritise it, however when I executed during the OSD process fails because its not creating the log file . can someone please help me? Is there something wrong with my command.
0 Comments
[ + ] Show comments
Answers (3)
Please log in to answer
Posted by:
dj_xest
12 years ago
You may want to put the paths in quotes..
Setup.exe /s /SMS /f1"C:\HD\UTILS\Applications\2020\setup.iss" /f2"C:\HD\UTILS\Applications\2020\2020.log"
Setup.exe /s /SMS /f1"C:\HD\UTILS\Applications\2020\setup.iss" /f2"C:\HD\UTILS\Applications\2020\2020.log"
Comments:
-
Yep. I always put the quotes in, even when there arent gaps in the path. I'd be curious to know if there is specific criteria for when it does or does not work without the quotes. - Moedius 12 years ago
-
you can also remove the /f2"C:\HD\UTILS\Applications\2020\2020.log" parameter and see if by default the log file will be created on the same location with your .iss file - dj_xest 12 years ago
Posted by:
lucent6408d
12 years ago
I will give that a try and report back... thanks guys lets hope it works
Comments:
-
with the quotes there I get a script error instead - lucent6408d 12 years ago
Posted by:
lucent6408d
12 years ago
I get a script error with the quotes in place
Comments:
-
Does the script error refer to anything useful? - Moedius 12 years ago
-
Try this from http://blogs.technet.com/b/appv/archive/2007/10/11/scripting-within-an-osd-file.aspx
Setup.exe /s /SMS /f1"C:\\HD\\UTILS\\Applications\\2020\\setup.iss" /f2"C:\\HD\\UTILS\\Applications\\2020\\2020.log" - dj_xest 12 years ago