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 / April 2004

Tip: Looking for answers? Try searching our database.

Custom installer dialog

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Scott Zabolotzky - 19 Apr 2004 20:52 GMT
I've got a VS.NET installer project where I need to prompt the user
for a path to use for a cache directory. I currently use one of the
custom "Textboxes" dialogs to allow the user to manually type in
the path to use. I'd like to have a "Browse..." button so that the
user can select the path from a directory tree rather than manually
typing in the path (basically a dialog just like the "Installation
Folder" dialog.

What would be the best way to accomplish this? There doesn't appear
to be a way to re-use the "Installation Folder" dialog (BTW, the app
is a web app so it uses "Installation Path" instead). I also can't
figure out how to add a "Browse..." button to the "Textboxes"
dialog that I'm currently using. Is there a way to add a custom
dialog to the installer project?

Thanks...Scott
Phil Wilson - 24 Apr 2004 17:47 GMT
VS.NET gives you a few canned dialogs you can add to the UI. The contents
set properties you can use for folders (you'd need a custom folder).
Advice: My attitude to these kinds of choices are that I'd rather the
installation just chose the "right" one. If the user picks a secured one
you'll get a security error unless running with Admin privilege, for
example. It depends on your clients of course, but developers are notorious
for building installations where every little thing has to have a choice to
be fiddled with.
Signature

Phil Wilson
[MVP Windows Installer]

> I've got a VS.NET installer project where I need to prompt the user
> for a path to use for a cache directory. I currently use one of the
[quoted text clipped - 12 lines]
>
> Thanks...Scott
Scott Zabolotzky - 26 Apr 2004 15:58 GMT
I know about the canned dialogs. Unfortunately none of them meet my
needs (I need a dialog like the Installation Folder dialog, with a
text box for manually typing in the folder and a Browse button for
selecting it with the mouse). Is there any way to use the built-in
Installation Folder dialog for custom purposes (rather than selecting
where the installer is going to copy the files)?

Scott

>VS.NET gives you a few canned dialogs you can add to the UI. The contents
>set properties you can use for folders (you'd need a custom folder).
[quoted text clipped - 20 lines]
>>
>> Thanks...Scott
Phil Wilson - 26 Apr 2004 18:14 GMT
The Windows Installer SDK will let you edit MSI files to do that, but I
suspect you don't want to go there. There are tools here that can add
dialogs, and there might be one that lets you add a dialog to an existing
MSI file.
http://www.installsite.org/pages/en/msi/authoring.htm

Signature

Phil Wilson [MVP Windows Installer]
----

> I know about the canned dialogs. Unfortunately none of them meet my
> needs (I need a dialog like the Installation Folder dialog, with a
[quoted text clipped - 29 lines]
> >>
> >> Thanks...Scott

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.