Re: [WiX-users] Modifying new msi package prior to recache in a custom action

2015-05-05 Thread Matthew Bobowski
Edwin, No, you may use MsiOpenDatabase, but you need to be careful when and how you use it. For C++, try using PMSIHANDLE. Otherwise for C or other stdcall access, be sure to close the handle in your custom action with MsiCloseHandle. However, it might help to know what you're trying to accomp

Re: [WiX-users] File not getting overwritten

2015-05-05 Thread Matthew Bobowski
Pavan, I have run into this myself, and assuming it is not a user-modified file, it is usually caused by a 'patch' or previous install that was performed which did not use Windows Installer. You can also encounter this issue in the field when upgrading from a previous scripted setup which was u

Re: [WiX-users] VS SDK as install condition

2014-12-16 Thread Matthew Bobowski
Mario, I don’t know if there is a way from WixVSExtension. However, if you know the UpgradeCode for the particular Visual Studio SDK, you could look for it in an Upgrade block (assuming was installed via MSI). Perhaps something like this: You definitely have to ensure OnlyDetect is