Page 1 of 1
Script error on startup of 9.7

Posted:
22.07.2015, 15:21
by NickF
Hi
I just downloaded version 9.7, but can't get it to run.
I get an error message:
"The script path must not be more than 192 characters long and must not contain....."
My OS: Win7 Pro, 64Bit
How can I proceed?
Re: Script error on startup of 9.7

Posted:
22.07.2015, 17:54
by hbuhrmester
So, what is your current installation path? Is it on a network share? The UpdateGenerator may not work from a network share with UNC paths (\\<server>\<share>). This is documented in wsusoffline\doc\faq-enu.txt.
I would try again with a simple installation path like C:\wsusoffline\.
Re: Script error on startup of 9.7

Posted:
22.07.2015, 17:54
by aker
Where do you save wsusou?
Please use a shorter path (e.g. C:\wsusoffline)
[edit]OK, hbuhrmester was faster than me...[/edit]
Re: Script error on startup of 9.7

Posted:
22.07.2015, 18:42
by NickF
OK
It seems that it is just that I have WSUS stored too far down the directory structure - I've moved it to the 'top' and the problem has gone away!
Many thanks.
Re: Script error on startup of 9.7

Posted:
22.07.2015, 22:17
by boco
Unfortunately the Windows API has a stupid restriction for paths (~260 characters). Many programs thus communicate directly with the underlying NTFS filesystem (which supports path lengths >65000 characters). The command line shell (which WSUSOU makes use of) is bound to the API.
The same with spaces and unusual characters. Even though we should be able to us fancy names for everything, there's still lots of software not supporting Unicode, let alone quoting. Dunno why.
*Whew*. /rant over