Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2005
    Location
    Birmingham, Alabama
    Posts
    175

    xml uninstall file

    I think I just need a point in the right direction. I have an installer that writes an uninstall.xml file (to run in silent mode). How can I make autoplay execute that file, so that the files are uninstalled without any interaction from the PC user? Remember, I'm no expert!

  2. #2
    Join Date
    Mar 2004
    Location
    Toronto, ON CANADA
    Posts
    696
    First, find out where your installer places the uninstall.exe file. Usually it will be something like 'C:\Windows\My_Program_Name' where 'My_Program_Name' is your application name in the installer.

    Next, just run the uninstall executable with the path to your uninstall XML file with the silent switch. Here is the code:

    Code:
    result = File.Run(_WindowsFolder.."\\My_Program_Name\\uninstall.exe", '"/U:C:\\Program Files\\My_Program_Name\\uninstall.xml" /S', _WindowsFolder.."\\My_Program_Name", SW_MINIMIZE, true);

  3. #3
    Join Date
    Feb 2005
    Location
    Birmingham, Alabama
    Posts
    175
    thanks, I thought it would be simple!

Similar Threads

  1. Uninstall Data – Questions and Bugs (?)
    By csd214 in forum Setup Factory 7.0
    Replies: 5
    Last Post: 06-21-2005, 11:05 AM
  2. HOWTO: Create a Project Template
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 10-28-2002, 01:49 PM
  3. HOWTO: Include Uninstall Support
    By Support in forum Setup Factory 6.0 Knowledge Base
    Replies: 0
    Last Post: 09-26-2002, 02:33 PM
  4. Replies: 0
    Last Post: 08-17-2000, 02:29 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