PDA

View Full Version : NSIS 1.98 shortcut bug


CzatTJ
30th May 2002, 17:44
I tried out the new 'SetShellVarContext all' command, and it worked fine for WinXP, but on WinME it did NOT create the shortcuts in the right directory! It make the shortcuts in: 'C:\WINDOWS\Temp\'!!!! Anybody have the same trouble?

VortX21
30th May 2002, 18:05
Yes - I had the same problem. It seems to work fine on NT based windows while 9x gets directed to the temp directory. I ended up just doing
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Windows NT\CurrentVersion" CurrentVersion
StrCmp $0 "" lblnotnt
SetShellVarContext all
lblnotnt:
etc etc
-Carl

CzatTJ
30th May 2002, 18:13
Thanks for the work-around!!! I like the new option of 'All' users and would hate to go back to 'current' user only.

Czar