Skip to content
⌘ NSIS Forum Archive

cannot launch .net 2.0 beta installer

4 posts

Guest#

cannot launch .net 2.0 beta installer

I have been trying to launch .net 2.0 installer using ExecWait and haven't been able to do it so far.

I have successfully deployed the installer within my installer program and I do extract it ok before trying to launch it.

I have tried all these variations of ExecWait like:

ExecWait '$FRAMEWORKDIR\dotnetfx.exe'
ExecWait "$FRAMEWORKDIR\dotnetfx.exe"
ExecWait '"$FRAMEWORKDIR\dotnetfx.exe"'
ExecWait `$FRAMEWORKDIR\dotnetfx.exe`
ExecWait `"$FRAMEWORKDIR\dotnetfx.exe"`

Is there anything that I am missing. Please let me know. Your response will be highly appreciated.

Niben
Guest#
I tried printing the returned value of ExecWait and there's nothing.

The problem is when the installer reaches the point of executing the ExecWait statement it simply does not launch the .net installer.

I would appreciate any help.

Thanks,
Niben
kichik#
If none of the variants you've tried (only 3 and 6 are correct, btw) didn't work, $FRAMEWORKDIR probably points to the wrong directory. Use IfFileExists to see if dotnetfx.exe is really there.