dotnet setup:
This is a list of the properties that you can use in a folder - it might be
CommonAppDataFolder you need.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/setup/system_folder_properties.asp
The setting of ALLUSERS in a VS 2003 setup is driven by the UI, and the
default value is based on per-user and a property called FolderForm_AllUsers
in the Property table in the MSI file. The only way I know of to change this
default is to edit the final MSI file (with Orca from the Platform SDK) and
change its value from ME to ALL. There are programmatic ways to do the same
thing. You can also set ALLUSERS to value 2 in the same Property table - I
think you'll need that for a silent install where there is no UI so you want
to set ALLUSERS to the per-system default.
--
Phil Wilson
[MVP Windows Installer]
Definitive Guide to Windows Installer
http://www.amazon.com/exec/obidos/tg/detail/-/1590592972/104-7044380-4696760 [quoted text, click to view] "manpreet" <manpreetsingh@abosoftware.com> wrote in message
news:e4p$AakoEHA.3464@tk2msftngp13.phx.gbl...
> OS : Windows 2000
> Tools : Visual Studio .Net
>
> I have developed a setup application using Visual Studio 2003 .Net
> deployment kit. I have a created a custom folder(User's Personal Data
> Folder). On Installing the MSI for All users, the folder gets created in
> the
> Current user's 'My Documents' folder. I want that folder to created in
> 'All
> Users' Documents Folder instead of Current user's 'My Documents' folder.
> So
> far what i have found is that All User installation is of two types :-
> Per-
> machine and Per User
> a)Per - machine installation :- means that the application is available
> for
> all users of a computer and data folders are created in all users and are
> accessible by all user's.
> b)Per- User installation means :- Data folders are created in Personal
> folder of the current users.
>
> Also to set the Installation as per-machine type, ALLUSERS property can be
> set to 2. How to set the above property in Visual Studio .NET Setup
> Deployment project? Any other help in this regard will be highly
> appreciated.
>
> Thanks in Advance,
> Manpreet Singh
>
>