Announcement

Collapse
No announcement yet.

Uninstall a printer driver our program previously installed

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Uninstall a printer driver our program previously installed

    I am not clear on how to uninstall a previous version of a particular printer driver which was installed in OUR previous version, before we install the new one. Here is the line that installed it in our prior version Post Install section:
    nRes = Shell.Execute(SessionVar.Expand("%TempLaunchFolder %\\Setup_bioPDFSetup_9_4_0_1570.exe"), "open", "/NOICONS /PRESERVEDEFAULTPRINTER /PRINTERNAME=\"PDF Printer\" /SILENT", "", SW_SHOWNORMAL, true); error = Application.GetLastError(); if (error ~= 0) then
    Dialog.Message("Error", _tblErrorMessages[error], MB_OK, MB_ICONEXCLAMATION); end

  • #2
    I would locate the UninstallString in the Control Panel (Registry), and execute it via File.Run() during the uninstallation of your own product, in the On Pre Uninstall or On Post Uninstall events.

    Ulrich

    Comment


    • #3
      Originally posted by Ulrich View Post
      I would locate the UninstallString in the Control Panel (Registry), and execute it via File.Run() during the uninstallation of your own product, in the On Pre Uninstall or On Post Uninstall events.

      Ulrich
      My suggestion is use Printui.exe of course where ever you need it. I've used it from XP to Windows 7 successfully.

      Comment


      • #4
        Apology, I need to print in fill-out forms printed (invoices) through a dot matrix printer, as I can make it?
        Attentively THANKS

        Comment


        • #5
          Apology, I need help when printing fill-out forms printed (invoices) through a dot matrix printer, as I can make it?
          Attentively THANKS

          Comment

          Working...
          X