Archive: Install in different path then default path


Install in different path then default path
I have a default installation path where i want to install all files,
only one file i want to install in another directory
(C:\Documents and Settings\<\Application Data\Program)
this path isn't visible for the user in de installation wizard.
The problem is that i can't install the file in another dir.,
who can help me with this?

This code doesnt work :

;Installer Sections

Section "WinRIS Tweak"
SetOutPath "$INSTDIR"

;ADD YOUR OWN FILES HERE...
File "WinRIS Tweak.exe"
File "Interop.JRO.dll"
File "Interop.WINRISDB.dll"
File "Interop.Excel.dll"
File "Interop.VBA.dll"
File "Interop.WINRIS_DESKTOP.dll"
File "Interop.WinRISML.dll"
File "Nini.dll"
File "WinRISSF.mdw"
File "MCLB.dll"
File "WinRIS_Tweak.chm"

;Store installation folder
WriteRegStr HKCU "Software\VB And VBA Program Settings\WinRIS Tweak" "" $INSTDIR

;Create uninstaller
WriteUninstaller "$INSTDIR\Uninstall.exe"
SectionEnd

Section "WinRIS Tweak INI"
SetOutPath "$PROFILEApplication Data\WRBasicApp"

;ADD YOUR OWN FILES HERE...
Exec "$OUTDIR\BasicApp.ini"
SectionEnd


There isn't such a constant in NSIS [$PROFILEApplication Data]
You need to use $APPDATA after you read the manual 4.2.3 Constants.