Hi,

I am getting two errors when my installer does a rollback. An 1101 error (A
file stream could not be opened) then a 1712 error (A file needed for system
restore is missing). The rollback appears to have all worked correctly, so
this isn't a huge issue. It is just an annoyance since each one of these
errors pops up a error box with an ugly message that the user has to click
the 'OK' button on.

I ran process monitor to track the file that the msi is looking for. Msiexec
creates, writes to and reads from the file all throughout the
install/rollback process, until the very end. For some reason it closes the
file, deletes it and then tries to reopen it...?

Here is the logfile section:
....
Property(S): PrimaryVolumeSpaceRequired = 0
Property(S): PrimaryVolumeSpaceRemaining = 0
Property(S): SOURCEDIR = C:\Documents and Settings\walterty\Local
Settings\Temp\
Property(S): SourcedirProduct = {D6FB571C-F644-411A-8357-A51C5FEA6CE6}
Property(S): ProductToBeRegistered = 1
MSI (s) (28:AC) [10:43:17:352]: MainEngineThread is returning 1603
MSI (s) (28:D0) [10:43:17:352]: No System Restore sequence number for this
installation.
MSI (s) (28:D0) [10:43:17:383]: User policy value 'DisableRollback' is 0
MSI (s) (28:D0) [10:43:17:383]: Machine policy value 'DisableRollback' is 0
MSI (s) (28:D0) [10:43:17:399]: Incrementing counter to disable shutdown.
Counter after increment: 0
MSI (s) (28:D0) [10:43:17:414]: Note: 1: 1101 2: C:\Config.Msi\5d5877.rbs 3:
2
1: 1101 2: C:\Config.Msi\5d5877.rbs 3: 2
MSI (s) (28:D0) [10:43:18:993]: Note: 1: 1712
1: 1712
MSI (s) (28:D0) [10:43:20:039]: Decrementing counter to disable shutdown. If
counter >= 0, shutdown will be denied.  Counter after decrement: -1
MSI (s) (28:D0) [10:43:20:039]: Restoring environment variables
MSI (s) (28:D0) [10:43:20:055]: Destroying RemoteAPI object.
MSI (s) (28:5C) [10:43:20:055]: Custom Action Manager thread ending.
MSI (c) (F4:44) [10:43:20:071]: Back from server. Return value: 1603
MSI (c) (F4:44) [10:43:20:086]: Decrementing counter to disable shutdown. If
counter >= 0, shutdown will be denied.  Counter after decrement: -1
MSI (c) (F4:44) [10:43:20:086]: PROPERTY CHANGE: Deleting SECONDSEQUENCE
property. Its current value is '1'.
Action ended 10:43:20: ExecuteAction. Return value 3.
MSI (c) (F4:44) [10:43:20:102]: Doing action: FatalError
Action 10:43:20: FatalError.
Action start 10:43:20: FatalError.
Action 10:43:20: FatalError. Dialog created
Action ended 10:43:21: FatalError. Return value 2.
Action ended 10:43:21: INSTALL. Return value 3.
Property(C): UpgradeCode = {58AF670A-1128-441C-AB64-C1CCB8D3C386}
Property(C): ProductCode = {D6FB571C-F644-411A-8357-A51C5FEA6CE6}
Property(C): INSTANCENAME = EXAMPLE Author 0
Property(C): INSTALLLOCATION = C:\Program Files\Duck Creek Technologies\
.....


Custom Action Setup:
    <Binary Id="RemoveISCA"
            SourceFile="$(var.
RemoveInstallShieldInstallationsCA.TargetDir)$(var.RemoveInstallShieldInstallationsCA.TargetName).CA.dll"
            />
    <CustomAction Id="BackupIS"
                  BinaryKey="RemoveISCA"
                  DllEntry="Backup"
                  Execute="deferred"
                  Return="check"
                  Impersonate="no"
                  />
    <CustomAction Id="SetBackupISData" Property="BackupIS"
Value="[INSTALLLOCATION], [REMOVEINSTALLSHIELD], [INSTANCENAME]"/>

    <CustomAction Id="RollbackBackupIS"
                      BinaryKey="RemoveISCA"
                      DllEntry="Rollback"
                      Execute="rollback"
                      Return="check"
                      Impersonate="no"
                  />
    <CustomAction Id="SetRollbackBackupISData" Property="RollbackBackupIS"
Value="INSTALLLOCATION=[INSTALLLOCATION];REMOVEINSTALLSHIELD=[REMOVEINSTALLSHIELD];TARGETDIR=[TARGETDIR]"/>

    <InstallExecuteSequence>
      <Custom Action="SetRollbackBackupISData" Before="RollbackBackupIS"/>
      <Custom Action="RollbackBackupIS" Before="BackupIS">NOT Installed AND
REMOVEINSTALLSHIELD</Custom>
      <Custom Action="SetBackupISData" Before="BackupIS"/>
      <Custom Action="BackupIS" Before="InstallFiles">NOT Installed AND
REMOVEINSTALLSHIELD</Custom>
    </InstallExecuteSequence>


Thanks for any input.


-- 
Tyler Walters
------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to