Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 5 of 5
  1. #1
    Join Date
    May 2005
    Posts
    15

    Autoplay for office hotfixes

    Ok, I have a slight problem. I'm trying to create an autorun Cd that will install MS Office 2000 patches. The problem is that the command line arguments I use work in the command prompt window. just that when I use the file.run command with the arguments it does not. It seems to think I'm using the wrong switches.

    here is an example:

    result = File.Run("kb887977.exe", "/Q", "", SW_SHOWNORMAL, true);

    If it run it in the prompt directly as kb887977.exe /Q it works fine.

    Anyone have any ideas?

  2. #2
    Join Date
    Aug 2003
    Location
    Maine, USA
    Posts
    1,695
    That should work. Where is your executable located (assuming CD_ROOT?)? What error do you get? Try using Application.GetLastError() to see exactly what the problem is.

  3. #3
    Join Date
    May 2005
    Posts
    15
    Ok, one problem is that withing the arg i need to specify a temp folder. It doesn't like the characters.

    I need to use this arg: "/T:c:\temp\o2k\ /Q"

  4. #4
    Join Date
    Aug 2003
    Location
    Maine, USA
    Posts
    1,695
    Try "/T:c:\\temp\\o2k\\ /Q"

  5. #5
    Join Date
    May 2005
    Posts
    15
    Thanks. That worked!

Similar Threads

  1. Press Release: AutoPlay Media Studio 5.0 Training CD's
    By Colin in forum Announcements & News
    Replies: 0
    Last Post: 09-15-2004, 01:40 PM
  2. AutoPlay Media Studio 4.0 Documentation
    By Colin in forum AutoPlay Media Studio 4.0
    Replies: 0
    Last Post: 11-18-2003, 11:58 AM
  3. PROBLEM: AutoPlay Application Does Not Start Automatically
    By Support in forum AutoPlay Menu Studio 3.0
    Replies: 0
    Last Post: 10-25-2002, 02:21 PM
  4. PROBLEM: AutoPlay Application Does Not Start Automatically
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 10-25-2002, 12:39 PM
  5. INFO: Tips for Debugging Action Lists in AutoPlay Media Studio 4.0
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 10-03-2002, 08:38 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