Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / Setup / July 2006

Tip: Looking for answers? Try searching our database.

file for ALLUSERS

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
stefania77 - 17 Jul 2006 13:52 GMT
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!
Phil Wilson - 17 Jul 2006 19:44 GMT
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).
Signature

Phil Wilson [MVP Windows Installer]
----

> Hi all,
> I use VS 2003.
[quoted text clipped - 16 lines]
> Why?
> thank you!
stefania77 - 18 Jul 2006 09:30 GMT
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!

> 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
[quoted text clipped - 21 lines]
> > Why?
> > thank you!
Phil Wilson - 18 Jul 2006 16:26 GMT
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]

Signature

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

> Yes you are right, sorry I must be more detailed:
>
[quoted text clipped - 41 lines]
>> > Why?
>> > thank you!
stefania77 - 19 Jul 2006 09:14 GMT
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

> 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
[quoted text clipped - 45 lines]
> >> > Why?
> >> > thank you!
stefania77 - 20 Jul 2006 15:40 GMT
I've solved adding (with ORCA) the Property ALLUSERS in the Property table
and setting it to 2.
thank you
bye
stefania

> I'm sorry but my english is not good :))
>
[quoted text clipped - 64 lines]
> > >> > Why?
> > >> > thank you!

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.