Hi,
So ive been trying to make a backup copy of my msi installer on the user's PC while installing. I can do this with the help of custom actions and file operations. But when i Do this, I have to specify the File Name in the file operation. In the case the .msi name has changed i will miss to make the copy.
For now I'm using the following technique
Make property :MSIFODLER
use custom action to set property - "SourceDir" to MSIFODLER
Make property based folder from MSIFODLER
File operation copy from MSIFODLER to app dir , "Filename: Myapp.msi"
The problem is, if someone renames the MyApp.msi , it will fail to copy.
I know we can use property : "[OriginalDatabase]" to get full path (in which case it will be "C:\user\documents\myapp.msi" ) but i cant use this in the file operation.
QUERY:
Is there a way i can extract the name of the MSIfrom this path in advanced installer or is there a property i can use which has just the MSI name?
Thanks