Having problems getting installer frontend to work

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Scott Lawrence
    Forum Member
    • Jul 2006
    • 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.
  • Brett
    Indigo Rose Staff Member
    • Jan 2000
    • 2000

    #2
    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);

    Comment

    • Scott Lawrence
      Forum Member
      • Jul 2006
      • 3

      #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!!!!

      Comment

      Working...
      X