Archive: cannot launch .net 2.0 beta installer


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


What exactly doesn't work with the execution? Any error message?


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


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.