Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2004
    Posts
    11

    Execute a DOS Command before install

    I am needing to run a DOS Command to set a folder as shared.

    net share "MSHP Forms"="c:\mshp forms" /unlimited

    How do I go about running the above command prior to the installing of my files?

  2. #2
    Join Date
    May 2000
    Location
    Indigo Rose Software
    Posts
    2,150
    linhardt,

    If you place that command in a .bat file does it work? If so you can launch the bat file before installing. Please see the following article on how to close a bat file automatically Here

    Adam Kapilik

  3. #3
    Join Date
    Jun 2004
    Posts
    11
    Under "Actions" dialog box and in the execute file command i just posted the following in the "File to Execute" Box (eventhough is says 'Path and Filename') and it worked.

    net share "MSHP Forms"="c:\mshp forms" /unlimited

    So I am assuming you can do any DOS Command by putting it in that part of Setup Factory.

    Am I right??

Similar Threads

  1. HOWTO: Abort an Install Conditionally
    By Support in forum Setup Factory 6.0 Knowledge Base
    Replies: 0
    Last Post: 10-24-2002, 02:28 PM
  2. HOWTO: Download and Install Files from the Web
    By Support in forum Setup Factory 6.0 Knowledge Base
    Replies: 0
    Last Post: 10-23-2002, 01:16 PM
  3. HOWTO: Limit the Number of Times an Install can be Run
    By Support in forum Setup Factory 6.0 Knowledge Base
    Replies: 0
    Last Post: 10-17-2002, 02:58 PM
  4. HOWTO: Conditionally Install Files Based on OS
    By Support in forum Setup Factory 6.0 Knowledge Base
    Replies: 0
    Last Post: 10-10-2002, 03:03 PM
  5. HOWTO: Create a Silent Install with Setup Factory 5.0
    By Support in forum Setup Factory 5.0
    Replies: 0
    Last Post: 10-08-2002, 02:08 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