Randem Systems Support Board

Inno Setup => Inno Setup - General Questions => Topic started by: afridy on December 12, 2008, 08:40:09 PM

Title: User Profile Dir
Post by: afridy on December 12, 2008, 08:40:09 PM
Hai all,
 
I want to specify the destination dir of a file to be User Profile dir.
 
what is the syntax for that?
 
like this,
 
DestDir: {app};
Title: User Profile Dir
Post by: Randem on December 12, 2008, 08:47:52 PM
No, that is for the application folder. Why would you want to install in the user profile? The one who installs the app would be the administrator and the user would be different in the normal case.
 
You may want to use {applocaldata}, {commonappdata} or {userappdata}
 
(Message edited by randem on December 12, 2008)
Title: User Profile Dir
Post by: afridy on December 12, 2008, 08:50:28 PM
yes yes, its correct,
C:Documents and SettingsUserApplication Data
 
i want to store the file in this folder.
Title: User Profile Dir
Post by: Randem on December 12, 2008, 09:03:19 PM
Then you want to use {userappdata}
Title: User Profile Dir
Post by: Randem on December 12, 2008, 09:10:09 PM
BTW: That is for a roaming user profile.
Title: User Profile Dir
Post by: afridy on December 12, 2008, 09:15:37 PM
Thank You really helpful.
i assume with vista also no problem specifing {userappdata}.
Title: User Profile Dir
Post by: Randem on December 12, 2008, 09:18:11 PM
No, it is specifically for multiple operating systems. Ref https://randemsystems.support/innoscript-general-questions-report-bugs-problems-etc/making-your-application-vista-windows-7-windows-8-compliant/ (https://randemsystems.support/innoscript-general-questions-report-bugs-problems-etc/making-your-application-vista-windows-7-windows-8-compliant/)
Title: User Profile Dir
Post by: afridy on December 12, 2008, 09:28:08 PM
yes, i got it from that article.