Re: How do I add a directory in VS2003 setup project
- From: "Phil Wilson" <phil.wilson@xxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 12 Sep 2006 15:37:02 -0700
Visual Studio isn't very good at the folders thing. However if you
right-click on File System on Target Machine in the setup projects's IDE you
can add one of these folders as a destination choice: User's Application
Data or User's Personal Data. I think they would be a better choice because
when I look at Documents&Settings\All Users\Application Data ordinary users
can't write to it.
--
Phil Wilson
[Microsoft MVP Windows Installer]
"Vadym Stetsyak" <vadym_s@xxxxxxx> wrote in message
news:OqBZYIn1GHA.3644@xxxxxxxxxxxxxxxxxxxxxxx
Hello, Marcus!
M> I rightclick the left window in file system editor in VS2003 setup
M> project to add a special folder but I can not find one that seems to be
M> what I want.
M> If I can not do it in the setup project I have to create the folder in
M> my app during application runtime using ALLUSERSPROFILE somehow. I dont
M> want to do that though.
you need CommonAppDataFolder property for that. I'm afraid that it cannot
be done
via setup project.
What you can do is, add custom directory in the setup project. Then using
Orca took open msi, find that custom directory in the "Directory" table
and
change its name into "CommonAppDataFolder"
(
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/setup/system_folder_properties.asp )
--
Regards, Vadym Stetsyak
www: http://vadmyst.blogspot.com
.
- Follow-Ups:
- Re: How do I add a directory in VS2003 setup project
- From: Marcus
- Re: How do I add a directory in VS2003 setup project
- References:
- How do I add a directory in VS2003 setup project
- From: Marcus
- How do I add a directory in VS2003 setup project
- Prev by Date: Re: How do I add a directory in VS2003 setup project
- Next by Date: framework version questions
- Previous by thread: Re: How do I add a directory in VS2003 setup project
- Next by thread: Re: How do I add a directory in VS2003 setup project
- Index(es):
Relevant Pages
|