I have followed the guide, but the problem is that the files aren't backup'ed.
The problem appears to be that the BackupList property is not set properly. However I cannot figure out why this fails.
From the log-file:
Code: Select all
MSI (s) (44:80) [10:44:06:706]: Doing action: Set_BackupList
Action 10:44:06: Set_BackupList.
Action start 10:44:06: Set_BackupList.
MSI (s) (44:80) [10:44:06:706]: Note: 1: 2715 2: file1.txt
MSI (s) (44:80) [10:44:06:706]: Note: 1: 2715 2: file2.txt
MSI (s) (44:80) [10:44:06:706]: Note: 1: 2753 2: file3.ini
MSI (s) (44:80) [10:44:06:706]: PROPERTY CHANGE: Adding BackupList property. Its value is '"|||"'.
Action ended 10:44:06: Set_BackupList. Return value 1.
When using the p2.msi (modified slightly to use other files and upgrade another product) i get a different output:
Code: Select all
Action 10:06:41: Set_BackupList.
Action start 10:06:41: Set_BackupList.
MSI (s) (94:74) [10:06:41:257]: PROPERTY CHANGE: Adding BackupList property. Its value is 'C:\Documents and Settings\All Users\Application Data\Your Application\file_to_backup2.txt|C:\Documents and Settings\All Users\Application Data\Your Application\folder_to_backup2\|C:\Programmer\Us\Our App\file_to_backup.txt|C:\Programmer\Us\Our App\file3.ini'.
Action ended 10:06:41: Set_BackupList. Return value 1.
Code: Select all
MSI (s) (44:80) [10:44:06:706]: Note: 1: 2753 2: file3.ini
FOLLOW US
Get the latest news in Application Packaging