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 / June 2007

Tip: Looking for answers? Try searching our database.

Nested Install

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
benliu - 29 May 2007 21:26 GMT
I need to create a VS Setup and Deployment project that essentially
calls other setup programs.  I have heard mixed reviews about doing
something like this - including that this functionality was deprecated
after VS 2003.  I do have the current project calling a few other
setup programs right now, and it seems to work - what are some of the
issues and concerns i need to look into?

Also, I would like to add the other setup program's files into my
project - I don't want those files copied to the user's application
folder - i just want to run them directly. Currently, my custom action
adds the file to Application Folder then calls the exe.  I have
"exclude" property set to true so that the file doesn't show up after
install.  However, can i run the exe directly without copying it to
application folder?  This is particularly of concern if the setup
files are several gigs - i don't want to have to copy to the user's
machine then have to run it - i'd like to run it directly from the
distributed medium (e.g. CD ROM)

Finally, last question.  How would I include a set of files and
subdirectories to the project.  Right now, i can add files directly to
the application folder, but not directories.  Same thing applies as in
previous question -  i figure i can create a subdirectory and add it
in, but again i prefer not to have to copy the files to the user's
machine and take up extra space.

Thanks,

Ben
Phil Wilson - 08 Jun 2007 00:55 GMT
1) You can't run an embedded setup as a custom action if it's an MSI
install, because you can't have two concurrent MSI installs here. Whether a
non-MSI based setup works is usually deoendent on what it actually does. If
it forces a reboot while your setup is still running that's a bit awkward.
If it's installing requirements for you to use during the install, it's
running too late.

2) Add them to the application folder in the usual way, then in solution
explorer see if you can set the Exclude property. That'll result in being
run from the MSI setup but not permanently installed on the system. Some
code can't be marked exclude (but mainly assemblies IIRC).

3) Not available in VS setup projects AFAIK.  Add the files individually.
Signature

Phil Wilson
[Microsoft MVP Windows Installer]

>I need to create a VS Setup and Deployment project that essentially
> calls other setup programs.  I have heard mixed reviews about doing
[quoted text clipped - 24 lines]
>
> Ben

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.