Jeg arbejder på et installationsprogram (MSI, Wix) til MVVM Light og har et problem. Jeg har brug for at køre devenv.exe / setup ved installation og afinstallation for at tilføje / fjerne skabeloner til menuen Nyt projekt. Mens vi spikrede syntaksen ved installation, kan vi ikke finde den korrekte syntaks til at køre denne ved afinstallation.
Dette er hvad vi har:
<InstallExecuteSequence>
<Custom Action='UpdateVS2010Templates'
After='InstallFiles'>VS2010EXISTS</Custom>
<Custom Action='UpdateVS2010TemplatesUninstall'
After='RemoveFiles'>REMOVE = "All"</Custom>
</InstallExecuteSequence>
med
<CustomAction Id="UpdateVS2010Templates"
Impersonate="no"
Execute="deferred"
Directory="INSTALLLOCATION"
ExeCommand='"[VS10INSTALL]\Common7\IDE\DEVENV.EXE" /SETUP'
Return='ignore' >
</CustomAction>
<CustomAction Id="UpdateVS2010TemplatesUninstall"
Impersonate="no"
Execute="deferred"
Directory="INSTALLLOCATION"
ExeCommand='"[VS10INSTALL]\Common7\IDE\DEVENV.EXE" /SETUP'
Return='ignore' >
</CustomAction>
Kan nogen angive, hvad den korrekte syntaks ville være?
tak! Laurent