Danny here is the solution to your issue:
Quick Version: you can not change predefined install directories, you
should make a custom folder.
Long Version:
In the file system editor right click on File System on Target machine
Select Add Special Folder and choose custom folder (it is at the bottom)
Change the custom folder properties: Give it a meaningful name, Set the
Always create = True, Set the Default Location = [CUSTOMERSCHOICE]
Open the user Interface Editor, Right Click on Start, Select Add Dialog.
In the properties window for that Dialog give the Dialog reasonable text,
setting all text boxes that you do not need visible = false
For the textbox where the user selects the install directory for the
shortcut set the Property = CUSTOMERSCHOICE
You can also set a default value here.
--------------------
Todd Derksen
Visual Basic Deployment Test Team
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
[quoted text, click to view] >From: cypression@hotmail.com (Danny)
>
>Hi,
>
>I am having trouble allowing a user to change where they want the
>program group to go when they install a program that has been packaged
>in a VS .NET 2003 Setup and Deployment Project.
>
>I wanted to create a textbox in the user interface editor and whatever
>the user typed into that textbox, use as the path of where the program
>group was installed.
>i.e.
>Have a 'Company\shortcuts' folder in 'User's Programs Menu', but then
>in a Textbox, allow the user to change the root of where the 'User's
>Programs Menu was'.
>For example the default could/would be: "C:\Docs and
>Settings\%Username%\Start Menu\Programs", but they might want to
>change that to "C:\Docs and Settings\%Username%\Start
>Menu\Programs\Applications"
>
>I've tried naming the 'Edit1Property' of the textbox to STARTMENUPATH
>and then using that in the 'Condition' field of 'User's Programs
>Menu', but whatever I change the path to, it still installs it in
>"C:\Docs and Settings\%Username%\Start Menu\Programs"
>
>Many thanks if you can help,
>
>Danny
>