Performing registry search for a .NET windows installer application

前端 未结 2 1430
情歌与酒
情歌与酒 2021-01-23 08:30

I have a .NET winform installer application. Before installing, I\'m doing a registry search to check if MS Access Runtime is installed on the machine.

Search Target Mac

2条回答
  •  猫巷女王i
    2021-01-23 08:45

    So this is how i finally got this to work and tested successfully on both 32bit and 64bit Windows machines.

    My application is dependent on two prerequisites. 1. Crystal Report Runtime. 2. Microsoft Access Runtime.

    So created registry search for both the runtimes.

    And Properties for each of the Search created.

    Launch Condition for each of the runtimes.

    If you observe between the two conditions for each of the runtime you would find the difference in the way the condition has been set.

    For Microsoft Access Runtime, i have just mentioned the Property name that was set for the Registry Search. While for Crystal Report Runtime, i have specified the value which is a specific version of runtime that should be present. In my case i was specifically looking for version "13.0.4" to be present on the machine.

提交回复
热议问题