Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2006
    Posts
    4

    running a msi file from Setup Factory

    Hi, I've tried finding out how to run an msi file on pre-install and I'm getting no-where fast. I've lloked at the examples given in the various forums but I must be missing something.

    If I type this in at the run prompt it works but it must be in this syntax

    msiexec.exe /i "c:\program\vfpodbc.msi"

    I've tried various combinations in the actions, the latest being

    File.Run("%windir%..\\system32\\msiexec.exe /i", "c:\\program\\vfpodbc.msi","",sw_shownormal,tr ue)

    but it doesn't run the msi file, just seems to ignore it and continues with the installation but yet if I get the syntax wrong it gives me an error

    Help

  2. #2
    Join Date
    Feb 2006
    Posts
    4

    Problem solved, thanks to Absynthe

    Hi, I did another trawl through the forum and finally came up with a solution, thanks to Absynthe who posted on an earlier thread

    File.Run(SessionVar.Expand("%SystemFolder%\\msiexe c.exe"), "/i \""..SessionVar.Expand("%AppFolder%\\Support\\msxm l.msi").."\"","", SW_SHOWNORMAL, true);

    Now working fine, many thanks

Similar Threads

  1. New Setup Factory 7.0 (v 7.0.2.0) Available
    By Darryl in forum Setup Factory 7.0
    Replies: 9
    Last Post: 03-06-2005, 01:57 PM
  2. New Features in Setup Factory 7.0
    By Ted Sullivan in forum Setup Factory 7.0
    Replies: 0
    Last Post: 08-12-2004, 12:13 PM
  3. HOWTO: Add DirectX 8.1 Support to your Setup Factory 6.0 Installation
    By Support in forum Setup Factory 6.0 Knowledge Base
    Replies: 0
    Last Post: 10-30-2002, 01:55 PM
  4. HOWTO: Distribute an AutoPlay Application with Setup Factory 6.0
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 10-25-2002, 02:33 PM
  5. FAQ: Setup Factory 5.0 Frequently Asked Questions
    By Support in forum Setup Factory 5.0
    Replies: 0
    Last Post: 10-10-2002, 09:50 AM

Posting Permissions

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