I tried the following but the msi just fails
  

        <Binary Id='backupmy.bat' SourceFile="Backup\backup.bat"/>
        <CustomAction Id='testbackup' BinaryKey='backupmy.bat'
ExeCommand='' Return='check'/>
...

        <Custom Action='testbackup' Before='InstallFiles'>Not Installed
OR REINSTALL</Custom>

I can't find this file either C:\WINDOWS\Installer\MSI1429.tmp as it
gets removed.

MSI (s) (08:68) [14:08:00:593]: Note: 1: 1721 2: testbackup 3:
C:\WINDOWS\Installer\MSI1429.tmp 4:  
Error 1721. There is a problem with this Windows Installer package. A
program required for this install to complete could not be run. Contact
your support personnel or package vendor. Action: testbackup, location:
C:\WINDOWS\Installer\MSI1429.tmp, command:  
MSI (s) (08:68) [14:08:05:312]: Product: EasyTrade 1.5 SP1 1.5.7.0 --
Error 1721. There is a problem with this Windows Installer package. A
program required for this install to complete could not be run. Contact
your support personnel or package vendor. Action: testbackup, location:
C:\WINDOWS\Installer\MSI1429.tmp, command:  

Action ended 14:08:05: testbackup. Return value 3.
MSI (s) (08:68) [14:08:05:328]: Machine policy value 'DisableRollback'
is 0
MSI (s) (08:68) [14:08:05:328]: Note: 1: 1402 2:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\R
ollback\Scripts 3: 2 
MSI (s) (08:68) [14:08:05:328]: Note: 1: 1402 2:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\R
ollback\Scripts 3: 2 
MSI (s) (08:68) [14:08:05:328]: No System Restore sequence number for
this installation.

-----Original Message-----
From: Rob Mensching [mailto:[EMAIL PROTECTED] 
Sent: 24 November 2008 18:44
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] backuponinstall

A batch file?  Wow, this is for an internal tool only right?

-----Original Message-----
From: Brian Simoneau [mailto:[EMAIL PROTECTED]
Sent: Monday, November 24, 2008 10:29
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] backuponinstall

Add the batch file as a Binary and run the custom action before
InstallFiles.

-Brian Simoneau

-----Original Message-----
From: Yu, Brian [mailto:[EMAIL PROTECTED]
Sent: Monday, November 24, 2008 8:04 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] backuponinstall

Hi there



I am trying to backup all files under INSTALLDIR before installation

M plan is to use custom action to run a bat file that does the copying.



I tried running the bat file as is and deploying the bat file itself
first

The problem is that MSI InstallFiles action install all files before my
custom action kicks in and  overwrites my old binaries



Any help is appreciated



Brian






_____________________________________________________________________
This e-mail was sent to you by EASYSCREEN LIMITED (EASYSCREEN). We are
incorporated under the laws of England and Wales (company no. 05677531
and VAT registration no. 872810613). Our registered office is at 155
Bishopsgate, London EC2M 3TQ. This e-mail and/or any attached documents
may contain privileged and confidential information and should only be
read by those persons to whom this e-mail is addressed. Use by other
than intended recipients is prohibited. If you are not the addressee,
you must not copy, distribute, disclose or use any of the information in
it. If you have received it in error, please delete it and immediately
notify the sender. EASYSCREEN reserves the right to monitor all e-mail
messages passing through its network. As we cannot guarantee the
genuineness, accuracy or completeness of the information contained in
this message, the statements set forth are not legally binding.
------------------------------------------------------------------------
-
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the
world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------
-
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the
world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------
-
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the
world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

_____________________________________________________________________
This e-mail was sent to you by EASYSCREEN LIMITED (EASYSCREEN). We are 
incorporated under the laws of England and Wales (company no. 05677531 and VAT 
registration no. 872810613). Our registered office is at 155 Bishopsgate, 
London EC2M 3TQ. This e-mail and/or any attached documents may contain 
privileged and confidential information and should only be read by those 
persons to whom this e-mail is addressed. Use by other than intended recipients 
is prohibited. If you are not the addressee, you must not copy, distribute, 
disclose or use any of the information in it. If you have received it in error, 
please delete it and immediately notify the sender. EASYSCREEN reserves the 
right to monitor all e-mail messages passing through its network. As we cannot 
guarantee the genuineness, accuracy or completeness of the information 
contained in this message, the statements set forth are not legally binding.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to