I have 2 problems really:
1) I am installing a SQL compact database (*.sdf) - I want to completely prevent overwriting of the file if an upgrade is taking place. How do I stop this? I have tried versioning the file itself but this has not worked? If the install is uninstalled and reinstalled, I want the file to be overwritten (which it should be if uninstalled first) but on upgrade I want the original to remain.
2) I want to install a different file dependant on what version of MS Excel (and therefore Office) is installed. This is not a prerequisite that a certain version of Excel MUST be installed, only that if Excel 2003 (version 11 office) or previous is installed, that an *.xls file is installed, and if Excel 2007 (Office v12) or after is installed, that an *.xlsm is installed INSTEAD OF the xls.
Any help?
FOLLOW US
Get the latest news in Application Packaging