Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 3 of 3
  1. #1
    Join Date
    Jul 2006
    Posts
    3

    Having problems getting installer frontend to work

    Hi all, first let me say thank you in advance for any help you can provide on this, I really appreciate it.

    OK, first I will let you know the task I am trying to accomplish, then provide you the details of the project.

    Task
    I am trying to create a single page autoplay front end installer for two seperate applications that will run from a cd when loaded.

    Details
    The front end has four choices available to the user.

    1. Install application (A)
    Button 1 --opens the Application (A) setup.exe from the application (A) setup folder on the CD
    Shell.Execute("\\Application A\setup.exe","open", "", "", SW_SHOWNORMAL);
    I cannot get this to work at all.

    2. Install application (B)
    Button 2 --opens the Application (B) setup.exe from the application (B) setup folder on the CD
    Shell.Execute("\\Application B\setup.exe","open", "", "", SW_SHOWNORMAL);
    I cannot get this to work at all.

    3. View the application help file
    Button 3 --opens The Application Help file from the CD
    File.Open(_SourceFolder .. "\\Application Help.chm", "", SW_SHOWNORMAL);
    This works fine!

    4. Exit
    Button 4 --Exits the installation front end setup.exe
    Application.Exit();
    This works fine!

    The CD image I create has the following structure:
    Autoplay File folder (contains the output of the autoplay build)
    Images folder (containing the help file images).
    Application (A) folder (contains list (1) bootstrapper setup.exe file, (2)application MSI file. and sub folders for the dependent applications of .net and Sql express 2005 ).
    Application (B) folder (contains list (1) bootstrapper setup.exe file, (2)application MSI file.
    autorun.inf (setup Information file).
    Application help.chm (the application help file).
    setup.exe

    The setup file opens fine from the autorun.inf.
    The button 3 to veiw the help file and button 4 to exit the front end installation application work fine.

    The problem I am having is getting to two applications to begin when either of the buttons (1) or (2) is selected. When I tyr them nothing ever happens, I expected the application installer to launch and proceed to install the application.

    The independent setup files for the 2 applicatiosn work flawlessly when run normally.

    Please help i need to understand how this works.

    Again, thank you in advance for any help you can give.

  2. #2
    Join Date
    Jan 2000
    Posts
    2,002
    Make sure to escape all of the slashes:

    Shell.Execute("\\Application A\\setup.exe","open", "", "", SW_SHOWNORMAL);

    and:

    Shell.Execute("\\Application B\\setup.exe","open", "", "", SW_SHOWNORMAL);

  3. #3
    Join Date
    Jul 2006
    Posts
    3
    As I already said thank you in advance all I can say now is, AWESOME!!!!!

    your suggestion for the (double \\) did the trick I had been beating my head on the wall for hours..... and it was so simple. I am not a programmer and did not know about the \\ necessary.

    again, AWESOME!!!!

Similar Threads

  1. Execute programs and installer screens (SF7 vs SF6)
    By Omegadrive in forum Setup Factory 7.0
    Replies: 4
    Last Post: 10-28-2005, 08:04 AM
  2. Problems integrating Flash
    By johndove1 in forum AutoPlay Media Studio 4.0
    Replies: 1
    Last Post: 01-31-2003, 12:30 PM
  3. INFO: Setup Factory and the Windows Installer
    By Support in forum Setup Factory 6.0 Knowledge Base
    Replies: 0
    Last Post: 10-22-2002, 10:38 AM
  4. Uninstall problems in XP
    By Tom Cairns in forum Setup Factory 6.0
    Replies: 1
    Last Post: 02-20-2002, 12:19 PM

Posting Permissions

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