1. What really does the "XPStyle" tag?
2. I have the following script:
The script put a shortcut in the desktop, in the startup folder and into the
[...]
; The default installation directory
InstallDir $PROGRAMFILES\xxxxxxxx
; Registry key
InstallDirRegKey HKLM SOFTWARE\xxxxxxxx "Install_Dir"
[...]
; Set output path to the installation directory.
SetOutPath $INSTDIR
; Put file there
file "qqqqqqqq"
file "wwwwwwww"
file "eeeeeeee"
; Write the installation path into the registry
WriteRegStr HKLM SOFTWARE\xxxxxxxx "Install_Dir" "$INSTDIR"
; Write the uninstall keys for Windows
WriteRegStr HKLM \
"Software\Microsoft\Windows\CurrentVersion\Uninstall\xxxxxxxx" \
"DisplayName" "xxxxxxxx"
WriteRegStr HKLM \
"Software\Microsoft\Windows\CurrentVersion\Uninstall\xxxxxxxx" \
"UninstallString" '"$INSTDIR\uninstall.exe"'
WriteUninstaller "uninstall.exe"
; menu
SetOutPath $INSTDIR
CreateDirectory "$SMPROGRAMS\xxxxxxxx"
CreateShortCut "$SMPROGRAMS\xxxxxxxx\xxxxxxxx.lnk" \
"$INSTDIR\xxxxxxxx.EXE"
CreateShortCut "$SMPROGRAMS\xxxxxxxx\Help and Docs.lnk" \
"$INSTDIR\xxxxxxxx.HTM"
; shortcut
SetOutPath $INSTDIR
CreateShortCut "$DESKTOP\title.lnk" "$INSTDIR\xxxxxxxx.exe"
CreateShortCut "$SMSTARTUP\title.lnk" "$INSTDIR\xxxxxxxx.exe"
CreateShortCut "$QUICKLAUNCH\title.lnk" "$INSTDIR\xxxxxxxx.exe"
SectionEnd
quick launch. Works fine in a single user enviroment, like w95/w98 and ME.
How I can do the same shortcuts in a multiuser enviroment like XP and W2K?
I understood I should use "SetShellVarContext" but the way it is not
so clear in my reading the docs.
Thanks for any help