How can my WiX version restore registry value?

The installer that I am writing using WiX 3.0 uses the RegistryValue element to modify the existing registry value (originally written by our main product). I am trying to figure out a way to restore the registry value when the user uninstalls my utility. I would like to avoid using a custom action, but this might be the only way to handle it? TIA.

+3
source share
3 answers

I have done it. The registry value represented is the application associated with the file extension, but it can be any registry value.

, " " regy. .

VS2008 CA javascript. "On install" script regy . "On uninstall" script , .  , ?

:

  • script, , , , . , , MSI. .

  • script, , ,
    . . .


, script, , .

. , "" script (on uninstall) , , . , ... , script . , .

, MSI script . 1 "" . , . 2, , script , , .

, 2 , , , .

:

  • CA on install on uninstall VS
  • VS Setup
  • - script, MSI.

MSI , , .

WiX, , .


, , CA. CA , ++, .NET . Javascript CA. , script CA. , . , script - . script , .

+3

, , . , script . , , . , , CA vbscript, , .

++ #/DTF .

0

, . - ?

I found an extension for wix that has functions for this purpose a link to the wix extension

0
source

Source: https://habr.com/ru/post/1738535/


All Articles