Post by Dmitry LipinDid you try runing installer help (--help)? It should give you an answer :)
Honestly, I didn't. I found http://nbi.netbeans.org/docs/cli_options.html and thought that these were the only supported commandline switches.
Post by Dmitry LipinRun
netbeans-6.7.1-ml-windows.exe --verbose --output out.txt --silent
--state state.xml
or just
netbeans-6.7.1-ml-windows.exe --verbose --output out.txt --silent
Ok, this is... stunning, to say the least...
The command I was using was this (replace %SOFTWARE_ISERV% with a UNC path of your choice ;):
Code:
"%SOFTWARE_ISERV%\netbeanside\netbeanside-6.7.1.exe" --silent --state "%SOFTWARE_ISERV%\Temp\netbeanside.xml"
This failed as mentioned in my post above. Now after your suggestion I modified the command a little and ran the following:
Code:
"%SOFTWARE_ISERV%\netbeanside\netbeanside-6.7.1.exe" --verbose --output "c:\netbeans.txt" --silent --state "%SOFTWARE_ISERV%\netbeanside\netbeanside.xml"
To my surprise... it worked! I was kinda perplexed when suddenly I saw the java.exe process pop up in the task manager and it really installed the complete NetBeans IDE.
To verify this behavior again I restored the previous environment (snapshot revert in VMware) and ran the first command again. No luck. Restored the snapshot again, ran the second command and guess what? NetBeans installed fine again...
I'm really at a loss as to what makes the installer fail when logging isn't enabled but well, if it works with the logging I'll just leave it in there!
Thanks a lot for the crucial tip. ;)