Archive: ExecWait does not compile (silent with quotations)


ExecWait does not compile (silent with quotations)
Hi all!

I have tried to search for this problem but without any answer and..I am new to Nsis so be gently =)

Anyway, i am trying to embedd a installer (for a program called jt2go) and trying to execute it in nsis but it does not get through the nsis compiler.

The program can do a silent installations typing:

JT2GoSetup.exe /s /v"/qb+ AGREE_TO_JT2GO_LICENSE=Yes INSTALLDIR=\"C:\Program Files\UGS\JT2Go\""

in the cmd

As i understand it /qb+ is not really a silent installation but a basic UI, but how do i translate this string into NSIS with all the quotations ??


i tried:

SetOutPath "$INSTDIR"

File "c:\gh\JT2GoSetup.exe"

ExecWait '$INSTDIR\JT2GoSetup.exe /s /v"/qb+ AGREE_TO_JT2GO_LICENSE=Yes INSTALLDIR=\"C:\Program Files\UGS\JT2Go\""'

also, can i replace the INSTALLDR=\ to $INSTDIR to make it install directly under where the user unpack the nsis ??

Thanks in advance for any advice!

Best regards
Linda
:)


hmm, got no answer here, but wondering, why not use NSIS to make ur installer hehe, sound to me you want to get away from NSIS ? by using some old fasioned DOS commands ? , from what i seen, im sure NSIS can do that.


Hi kukomamasan!

Thanks for your replay, but i do use NSIS as my main installer. However i need to include a installshield installer into my own NSIS installer.

I thought ExecWait was a option in NSIS to start the process (equal to go to the DOS prompt and typing the silent installation string) of making a silent installation of the included program ..but mabey i am wrong here.

any advice?..i dont thik i can just run the installshield and then include what has been "unziped" into my own NSIS becuase it writes thing into the register.

Does it make sense ??

Thanks


Ok,kukomamasan,

i tried just typing jt2go.exe in the execWait command and the installshield gets "nested" into my NSIS..for me that is a ok solution..but it would o fcourse be a bit nicer if the silent installation could work.

I am sure there just some problem with the quotations "" in the cmd string. i tried some $ combinations but no luck. If anyone can transform that string into NSIS that would be great!!

Thanks


the basic format should normally be:


ExecWait '"c:\path\program.exe" /something /somethingelse="hello world" /bye'