cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
raygallo
Level 3

How to backup and existing file

Is anyone aware of a way, without writing install script code, that you can backup or copy an exisitng file?

Im trying to avoid writing custom install script code (primarilty because I cannot figure it out to save my life) I want to do a simple copy or backup of an existing .mdb file without having to write 50 lines of code.

Any help or guidence is most appreciated as always 🙂

Thanks,
Ray
Labels (1)
0 Kudos

(3) Replies
raygallo
Level 3

I should also add that I have written an .exe using wise script, that backups the file needed. However; with Windows 7 with UAC on, this .exe never gets executed. It works great in XP or in Vista/Win7 with UAC off.
0 Kudos
RobertDickau
Flexera Alumni

Depending on how the file is getting on the target system, perhaps see if adding a record to the DuplicateFile or MoveFile table will do what you want? Both tables are described in the MSI help and exposed in InstallShield's Direct Editor view.
0 Kudos
raygallo
Level 3

You sir are the man! This worked perfectly. Thank you thank you for your help.
0 Kudos