If anyone has links (or can copy and paste the code they have used), I would be very, very grateful. I've been wrestling with this problem for three hours now - and it's 1:30 in the morning now.
I'm thinking, a good solution for this would require several generic "handlers" and a calling function which the MSI itslelf calls (after assigning appropriate session variables). (Note: I know next to nothing about Custom Action programming for MSI. In fact, I use Advanced Installer because I know nothing about MSI. Nor do I feel I should have to.)
Handlers
- MSIRenameFile
- MSIDeleteFile
- MSIBackupFile
- MSIMoveFile
I want to be able to write something as simple as:
Code: Select all
Function PreInstallBackup()
MSIBackupFile("TARGETDIR", "lookups.db2", true)
MSIBackupFile("TARGETDIR", "userdata.db2")
End FunctionJust some ideas, but I do need some solution... fairly soon. The product shipped yesterday. ^__^;
FOLLOW US
Get the latest news in Application Packaging