Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 5 of 5
  1. #1
    Join Date
    Oct 2006
    Posts
    7

    Star Problems installing certain software with AutoPlay

    Hello all,

    Since I got such great help and response I thought I would try one more question (Hopefully) before I complete my project. Thanks to Intrigued I now have my project running almost perfectly.

    I am building a tech DVD that has all sorts of helpful software that I distribute annually. In this DVD are a few applications that are being difficult. If I browse to the DVD_Root and manually run the *.MSI or *.EXE file it works perfectly. But when I run a preview in Autoplay that points to that file.. it wont run. Does anybody know why I am having these problems? I thought I may need a command line agrument but when I did a search I didn't see any that really seem to address my problem.

    Here is the history:

    http://www.indigorose.com/forums/showthread.php?t=17546

    Thanks for everything,

    John
    Last edited by jfmccord; 10-12-2006 at 08:43 AM.

  2. #2
    Join Date
    Oct 2006
    Posts
    7

    Faulty Code below

    result = File.Run("AutoPlay\\Docs\\Windows Defender (Beta 2)\\WindowsDefender.msi", "", "", SW_SHOWNORMAL, false);

    As you can see I am simply trying to install Microsoft Windows Defender (Beta 2) that I downloaded from Microsoft's site. When I manually run it the application works fine. When AutoPlay tries to run it... nothing happens.

    Thanks,

    John

  3. #3
    Join Date
    Sep 2002
    Location
    Sol 3
    Posts
    3,160
    If I remember with msi files you will have more success if you use Shell.Execute instead of File.Run.

    Tigg
    TJ-Tigger
    "A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools."
    "Draco dormiens nunquam titillandus."
    Map of IR Forum Users - IR Project CodeViewer - Online Help - TiggTV - QuizEngine

  4. #4
    Join Date
    Jan 2000
    Posts
    2,002
    Tigger is right. Actually the best way is probably to use File.Open.

  5. #5
    Join Date
    Oct 2006
    Posts
    7

    It worked!

    Thanks TJ_Tigger,

    That worked for all of them except one:

    I will attatch the file below. It is a self extracting (EXE) file that creates a Windows 98 SE Boot Disk. I had to rename it .Any idea why that one doesn't work? It is in a zipped format for uploading purposes.

    Thanks again for all your help,

    John
    Attached Files

Similar Threads

  1. TrueUpdate 2.0 FAQ
    By Colin in forum TrueUpdate 2.0
    Replies: 0
    Last Post: 01-04-2005, 12:25 PM
  2. HOWTO: Build and Burn Your AutoPlay Application
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 10-28-2002, 03:43 PM
  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