0

I have an outlook plugin which can be installed via .msi or .exe. In my solution I have a project Wix (for msi) and one Bootstrapper (for exe).I need to find a way to figure out during the installation if it is .exe installation or if it is .msi installation. Can someone help me with this one?

  • Make the installers set a registry key/create a file? – Alex K. Nov 06 '17 at 18:24
  • 1
    As you said, .exe is just the bootstrapper for the same .msi. This bootstrapper runs the same MSI package. You make pass parameter into it via command like bootstrapper uses. after that you have your difference as of this parameter value. – Slava Ivanov Nov 06 '17 at 18:31
  • Yes, if you are using WiX it's always an MSI underneath, so maybe it would be better to describe the actual problem you are trying to solve, because you believe that knowing that MSI/EXE difference is a solution. – PhilDW Nov 06 '17 at 19:24
  • @PhilDW I need to track how many users install via msi and how many users install via exe. So I need to set a parameter which will say to me if the installation was made via .exe or .msi. I don't know how to figure out which installation was used. – Sabrina Chronopoulou Nov 06 '17 at 19:48
  • @SlavaIvanov how can I pass through bootstrapper a parameter? Do you refer via the .wxs file? – Sabrina Chronopoulou Nov 06 '17 at 20:07
  • 1
    Is this what are you asking? [Pass parameters from bootstrapper to msi bundle package](https://stackoverflow.com/questions/10501995/pass-parameters-from-bootstrapper-to-msi-bundle-package) – Slava Ivanov Nov 06 '17 at 21:42
  • yes, thank you very much. I resolved my problem :) – Sabrina Chronopoulou Nov 07 '17 at 09:33

0 Answers0