Talk:DotNET: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 11: Line 11:


"Command line option syntax error. Type Command /? for Help"
"Command line option syntax error. Type Command /? for Help"
The fix is simple: Encase the path in ExecWait with inverted commas '"'.
I.e. change to:
<nowiki>ExecWait '"$TEMP\dotnetfx.exe" /q /c:"install /q"'</nowiki>

Revision as of 10:05, 26 June 2009

In the script for the first example the pops for the register restore are in the wrong order.

--PLJ-- Some day someone will work out how to:
a) Detect .Net 3.5
b) Install into it!
If anyone knows how, document it, please.

Installing on non English systems

This script fails on Japanese windows XP with the error:

"Command line option syntax error. Type Command /? for Help"

The fix is simple: Encase the path in ExecWait with inverted commas '"'.

I.e. change to:

ExecWait '"$TEMP\dotnetfx.exe" /q /c:"install /q"'