all groups > visual studio .net setup > july 2006 >
You're in the

visual studio .net setup

group:

file for ALLUSERS


file for ALLUSERS stefania77
7/17/2006 5:52:02 AM
visual studio .net setup: Hi all,
I use VS 2003.
I want to install (on XP) a file into
C:\Documents and Settings\ALL USERS\Start Menu but in the VS IDE there is
ONLY the USER'S START MENU special folder (and not ALLUSERS'S START MENU).
So I have included my file into USER'S START MENU, I've generated the MSI,
I've edited the msi with Orca and I have changed the FolderForm_AllUsers
property in "ALL".

But the file was installed into
C:\Documents and Settings\CURRENTUSER\Start Menu
Why?


The same happens if I include the InstallationFolder in the UserInterface of
installation project and then I select "AllUsers" in the radio button during
the installation.
Why?
thank you!
Re: file for ALLUSERS Phil Wilson
7/17/2006 11:44:07 AM
What you're doing does work - I just tried it. I'm thinking that you haven't
got administrator privileges, so what really happens is that the setup falls
back to a per-user install.

(I assume you mean the Everyone radio button).
--
Phil Wilson [MVP Windows Installer]
----
[quoted text, click to view]

Re: file for ALLUSERS stefania77
7/18/2006 1:30:02 AM
Yes you are right, sorry I must be more detailed:

the problem is to install a file into a folder into USER'S START MENU:
I need to create a Folder in USER'S START MENU in which install my file:
I want to install my file into
C:\Documents and Settings\ALL USERS\Start Menu\MYFOLDER
but this procedure fails because the file is installed into
C:\Documents and Settings\Administrator\Start Menu\MYFOLDER

If I install the file without create the folder (into C:\Documents and
Settings\ALL USERS\Start Menu) the procedure is ok
thankyou so much!




[quoted text, click to view]
Re: file for ALLUSERS Phil Wilson
7/18/2006 8:26:57 AM
I'll assume that MYFOLDER is actually a property name, not a folder name, so
that means you must enclose it in square brackets for it to be evaluated as
your folder name - use [MYFOLDER]

--
Phil Wilson
[Microsoft MVP-Windows Installer]
Definitive Guide to Windows Installer
http://apress.com/book/bookDisplay.html?bID=280

[quoted text, click to view]

Re: file for ALLUSERS stefania77
7/19/2006 1:14:01 AM
I'm sorry but my english is not good :))

No, MYFOLDER is not a property name but a folder: Let me explain:
In the VS2003 IDE there is the "File System" in which you can add your
folders/files.
Inside the folder "File System", I created the SpecialFolder USER'S PROGRAM
MENU, then in this folder, I created with the Add Menu a new folder
(MYFOLDER) which is where I included the file to install.

Even if I select the radio button "Everybody" during the installation
procedure, this file is installed into
C:\Documents and Settings\Administrator\Start Menu\Programs\MYFOLDER
and not into
C:\Documents and Settings\ALLUSERS\Start Menu\Programs\MYFOLDER

but if I insert the file directly into USER'S PROGRAM MENU without creating
MYFOLDER the procedure is ok and it will be installed into
C:\Documents and Settings\ALLUSERS\Start Menu\Programs












[quoted text, click to view]
Re: file for ALLUSERS stefania77
7/20/2006 7:40:02 AM
I've solved adding (with ORCA) the Property ALLUSERS in the Property table
and setting it to 2.
thank you
bye
stefania



[quoted text, click to view]
AddThis Social Bookmark Button