We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

legends
Posts: 6
Joined: Wed Sep 27, 2006 2:56 pm

Documents and Settngs/[user]/Application Data

I think I've seen information in the documentation, but can't locate it now. I want files to be put in a folder that reflects the user's name on the installation machine.

What I want:

C:\Documents and Settings\Frank Smith\Application Data\...

What I'm getting:

C:\Documents and Settings\[user]\Application Data\...

Thanks for your help.

Wendell
bloke
Posts: 8
Joined: Tue Sep 26, 2006 4:05 pm

Try:

[USERNAME]
legends
Posts: 6
Joined: Wed Sep 27, 2006 2:56 pm

Nope

That looked like a good tip...but,

[USERNAME] simply set up a folder "[USERNAME]" in the path. The files are there OK, but need real user name.

Wendell
bloke
Posts: 8
Joined: Tue Sep 26, 2006 4:05 pm

I've just tried it. Works with [LogonUser] :)

Check out the following for reference:

http://msdn.microsoft.com/library/defau ... erties.asp
legends
Posts: 6
Joined: Wed Sep 27, 2006 2:56 pm

I'm missing something.

I still get a directory written as [LogonUser] in my final installed path.

Let me review the MSDN documentation to see if I can figure it out.

Thanks,

Wendell
bloke
Posts: 8
Joined: Tue Sep 26, 2006 4:05 pm

Doh!

[AppDataFolder] in the Application Folder box under the Install Parameters maps it out perfectly. Make sure it's inluded in square brackets [ ]
legends
Posts: 6
Joined: Wed Sep 27, 2006 2:56 pm

I need these files to be in a designated folder that the installed application looks at. Can't be in the app folder.

c:\documents and settings\User's name\Application Data\...\...\filesgohere

For now, I'm going workaround this issue. I'll probably be back.

You've given me some pointers.

Thanks!

Wendell

Return to “Common Problems”