CreateShortcut crashes on Win7 64-bit when ran from network drive
Hi,
I've got a MUI2 based script, building and working fine on XP and Win7, build with NSIS 2.46.
However, if I run the installer from a Network drive (E) it will crash on Win7 when the following is executed:
CreateShortcut "$SMPROGRAMS\App\App.lnk" "$INSTDIR\app.exe"
The prior CreateDirectory "$SMPROGRAMS\App" is however fine.
If I run the program from the local drive, it's okay and install completes normally. If I comment out this line, the install is again okay (but no Start entry!).
I've got a RequestExecutionLevel admin at the top of the script, and in both cases I get a UAC verification prompt when running the installer. Unfortunately the crash doesn't give much info:
Problem signature:
Problem Event Name: APPCRASH
Application Name: app_dev.exe
Application Version: 0.0.0.0
Application Timestamp: 4b1ae3c6
Fault Module Name: ntdll.dll
Fault Module Version: 6.1.7600.16385
Fault Module Timestamp: 4a5bdb3b
Exception Code: c0000005
Exception Offset: 00032f15
OS Version: 6.1.7600.2.0.0.256.48
Locale ID: 2057
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789
How can I stop this crash, or get some info towards debugging it?
Regards,
Mike