Results 1 to 7 of 7

Thread: Multiple projects - same exe***resolved*****

  1. #1

    Thread Starter
    Addicted Member Halon's Avatar
    Join Date
    Oct 2002
    Location
    under desk choking on rage
    Posts
    228

    Multiple projects - same exe***resolved*****

    I have a couple of questions today, hopefully i explained them ok

    I have finished three pieces of software that will all belong to the same suite. Is it possible to add them all to one project and be able to create a start page that will run any of the projects i want?

    Second question, does anyone know how to add two or three (or more) projects at a time to Visual Studio Installer to install more than one program at a time?

    Thanks in advance
    Last edited by Halon; Apr 2nd, 2003 at 08:12 PM.
    Soylent Green tastes like chicken

  2. #2
    Fanatic Member
    Join Date
    Feb 2003
    Location
    Los Angeles, CA
    Posts
    681
    first thought - you need a 4th 'dashboard' application that would start any of the 3 exe's, and when the 'child' exe's will finish the dashboard will be redisplayed (or restarted).

    you may want to create depdendency files instead of setup packages for the 3 child exe's, and create a single distribution package for the dashboard application. in this application you will have to manually add the dependency files of the children.

    would have been more elegant to design your children applications as activex exe's or controls, and have them all together. if its not too late to change the project types, you may wanna go for it. a backup before would be highly recommended.
    there are 2 reasons why i leave my work unfinished:
    (1) i'm getting old.

  3. #3

    Thread Starter
    Addicted Member Halon's Avatar
    Join Date
    Oct 2002
    Location
    under desk choking on rage
    Posts
    228
    Thanks radum, makes sense if i would have thought about it 7 months ago before the client wanted them all packaged together.

    Anyone know if i can make a batch file that will call the 'setup.exe' of each package one at a timer. I understand that i will have to test for completion of the previous install but any ideas or thoughts.
    I already have one for installing the one (install.bat)
    Code:
    @ECHO OFF
    START setup.exe
    But would be nice to just call them all and have a beer.

    Cheers
    Soylent Green tastes like chicken

  4. #4

    Thread Starter
    Addicted Member Halon's Avatar
    Join Date
    Oct 2002
    Location
    under desk choking on rage
    Posts
    228
    SWEET
    I found code posted in replies to a post by James Stanich, forget the link, will look it up later and post it

    Modified mine to look like this
    Code:
    @ECHO OFF
    START /WAIT D:\ILM\iMailFiles\iThread\iExperience\Output\DISK_1\setup.exe  
    ECHO Installing Experience Experience CLOSED AND LAUNCHING Campaign
    START /WAIT D:\ILM\iMailFiles\iCampaign\iCampaign\Output\DISK_1\setup.exe
    ECHO Experience CLOSED AND LAUNCHING Campaign 
    START /WAIT D:\ILM\iMailFiles\iThread\iGallery\Output\DISK_1\setup.exe
    ECHO Campaign CLOSED AND LAUNCHING Gallery
    and it worked like a charm

    thanks forums again!!
    Soylent Green tastes like chicken

  5. #5

    Thread Starter
    Addicted Member Halon's Avatar
    Join Date
    Oct 2002
    Location
    under desk choking on rage
    Posts
    228
    Soylent Green tastes like chicken

  6. #6
    Hyperactive Member Colonel Klink's Avatar
    Join Date
    Aug 2002
    Location
    Gold Coast, Australia
    Posts
    329
    wouldnt passing it command line parameters work?

    forexample...

    VB Code:
    1. Private Sub Form_Load()
    2. vCommand = Command$
    3. If vCommand = "p1" Then
    4. form1.Show
    5. Else
    6. form2.Show
    7. End If
    8. End Sub
    Last edited by Colonel Klink; Apr 2nd, 2003 at 08:26 PM.

  7. #7

    Thread Starter
    Addicted Member Halon's Avatar
    Join Date
    Oct 2002
    Location
    under desk choking on rage
    Posts
    228
    It would if I wanted to build a 'dashboard' app as radum suggested. A good idea if planned from the beginning but a lot of the programs depend on its siblings being installed a certain way which was already taken care of in their individual install routines.

    By calling them all in sequence i at least know they will all get installed with the user only having to click 'next', 'next', 'close' etc.

    Thanks for the suggestion though
    Soylent Green tastes like chicken

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width