1

I have been facing a really strange problem trying to automate the installation of NewForma.

Below is the line I'm using in a bat file:

"\\bdc\deployment$\NewForma\NewformaProjectCenterOffice64Setup.exe" /s /v"/qn /log \\bdc\deployment$\NewForma\IT tool\log.log" /v"/qn NPCS_LOCATION=ABC-NFM"

It works fine, but no log file is created.

I was wondering if it is a problem with the syntax.

Any help will be highly appreciated.

janv8000
  • 1,627
  • 1
  • 12
  • 14
Hadi QJ
  • 21
  • 1
  • 2
  • 1
    Those opening quotes are supposed to be right after /v? – Karan May 17 '15 at 22:05
  • @Karan According to [here](http://helpnet.installshield.com/installshield18helplib/IHelpSetup_EXECmdLine.htm) it's supposed to be like that... – Michael Frank May 18 '15 at 00:19
  • @MichaelFrank: Yes, seems that way. – Karan May 18 '15 at 00:42
  • It looked odd to me as well, so I had to find out! – Michael Frank May 18 '15 at 00:44
  • 1
    Wonder why this was downvoted? Anyway, I countered that. Hadi: According to the page @MichaelFrank linked to, looks like the log path needs to be quoted separately since it contains spaces, so try `/v"/qn /log \"\\bdc\deployment$\NewForma\IT tool\log.log\""` and see if that works. – Karan May 18 '15 at 00:46
  • @MichaelFrank sorry there! I didn't see your answer! but yours is close to mine!, what I needed to do is create a log and automatically point the software to our in house newforma server! Yours would work but it will ask for server later at first initialization! but thank you – Hadi QJ May 18 '15 at 01:31

1 Answers1

0

I figured it out!

"\\bdc\deployment$\NewForma\NewformaProjectCenterOffice64Setup.exe" /s /v"/log "\\bdc\deployment$\NewForma\IT tool\log.log" /qn NPCS_LOCATION=ABC-NFM"

by combining the log switch and the entry for the setup, it can be achieved!

Thank you for all your help!

Hadi QJ
  • 21
  • 1
  • 2