|
|
#1 |
|
Junior Member
Join Date: Aug 2011
Posts: 11
|
nsExec::Exec won't work with quotes. please help
I have share the "Shared Virtual Machines"-folder for the user webGIS
I searched for a tool to make it as simple as possible...found RMTSHARE.EXE. In the command prompt it works fine: code: But in my nsis-installer the following code will not work, but I don't know why at all. code: the same code for the folder "c:\Daten" will work: code: I think, it's beause of the quotes, but I don't know how to make it work. Please help. BTW: $R0 is initialized by code: |
|
|
|
|
|
#2 |
|
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 2,779
|
Why are you using COMSPEC? COMSPEC is picky about quotes and spaces...
IntOp $PostCount $PostCount + 1 |
|
|
|
|
|
#3 |
|
Moderator
Join Date: Nov 2002
Location: Birmingham, England
Posts: 8,202
|
You only put quotes around the executable path, not the entire string. So in this case, just around $R0. And yeah you don't need to use COMSPEC really; just call rmtshare.exe directly.
Stu Need an installer? http://www.afrowsoft.co.uk |
|
|
|
|
|
#4 |
|
Junior Member
Join Date: Aug 2011
Posts: 11
|
thanks.
without comspec it works. |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|