Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2013
    Posts
    21

    Using TrueUpdate to install .MSI files?

    I'm just at the beginning of evaluating TrueUpdate, Setup Factory, MSI Factory, etc. So forgive me if I'm asking stupid questions.

    I've created a setup.msi file, using MSI Factory, and I'm trying to configure TrueUpdate to install it. But in the project wizard, if I select Single installer/patch file, the dialog accepts only executables - it will not accept .MSI files. If I choose Update Method: "Custom", none of the available templates jump out at me as being appropriate.

    I'm sure there must be a way to do this. Help would be appreciated.

  2. #2
    Join Date
    Apr 2005
    Location
    São Paulo, Brazil
    Posts
    3,030
    If your product is deployed via Windows Installer, then you would typically use actions like MSI.ApplyPatch() or MSI.RunMsiexec() to update the computer.

    Ulrich

  3. #3
    Join Date
    Mar 2013
    Posts
    21
    At this point, I'm playing around with the wizard. Is there no way for the wizard to create a script that does an MSI.ApplyPatch() on a .MSI file?

    I've tried taking a server script that downloaded a setup.exe, and changed it to a setup.msi, and changing File.Run() to Msi.ApplyPatch(), and I'm seeing an error 4237.

    PatchReturnCode = MSI.ApplyPatch(g_PatchFileDest, "", INSTALLTYPE_DEFAULT, "REINSTALL=ALL");

    I've verified that the path is correct, and that the setup.msi file runs correctly, when run directly.

  4. #4
    Join Date
    Mar 2013
    Posts
    21
    OK, never mind.

    This does what I want:

    PatchReturnCode = MSI.RunMsiexec("/i " .. g_PatchFileDest);

    Thanks.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts