Ho creato un programma di installazione Wix e l'ho imballato in un programma di avvio.Rimuovere i pulsanti "Cambia" e "Ripara" in Installazione applicazioni
Quando eseguo il programma di bootstrap che crea le seguenti chiavi nel Registro di sistema:
alt text http://n2.nabble.com/file/n4011693/Up.jpg
Quando eseguo il programma di bootstrap installa bene e quando ho eseguito l'Aggiungi/Rimuovi programmi mostra "Change "pulsante e pulsante" Ripara ". Il mio requisito è che
- Voglio che questi due pulsanti per essere uno come "Cambia/riparazione" come in altre applicazioni
- Quando seleziono questo pulsante voglio che il mio programma di bootstrap (setup.exe) da eseguire e non MSI
Questo è il mio prefisso:
<Property Id="EXTUNINSTALL" Value="0"/>
<Property Id="UNINSTALLEXE" Value="msiexec.exe"/>
<!-- The Uninstall shortcut target executable & arguments-->
<CustomAction Id="SetUNINSTALLEXE_EXT" Property="UNINSTALLCMD"
Value="[INSTALLEREXEDIR][INSTALLEREXE]"/>
<CustomAction Id="SetUNINSTALLARG_EXT"
Property="UNINSTALLARG"
Value="/MAINTENANCE /SILENT="SGWLRPFCE"
/LANG="[ProductLanguage]""/>
<CustomAction Id="SetSYSTEMARPCOMPONENT"
Property="ARPSYSTEMCOMPONENT"
Value="1"/>
<CustomAction Id="SetUNINSTALLARG"
Property="UNINSTALLARG"
Value="/x [ProductCode]"/>
<CustomAction Id="SetUNINSTALLEXE"
Property="UNINSTALLCMD"
Value="[SystemFolder]msiexec.exe"/>
<CustomAction Id="SetARPINSTALLLOCATION" Property="ARPINSTALLLOCATION"
Value="[MAININSTALLERFOLDER]" />
<InstallExecuteSequence>
<RemoveExistingProducts Before="InstallInitialize" />
<Custom Action="SetARPINSTALLLOCATION" After="CostFinalize"/>
<Custom Action="SetUNINSTALLEXE_EXT"
After="SetARPINSTALLLOCATION"><![CDATA[EXTUNINSTALL=1]]></Custom>
<Custom Action="SetUNINSTALLARG_EXT"
After="SetUNINSTALLEXE_EXT"><![CDATA[EXTUNINSTALL=1]]></Custom>
<Custom Action="SetSYSTEMARPCOMPONENT"
After="SetUNINSTALLARG_EXT"><![CDATA[EXTUNINSTALL=1]]></Custom>
<Custom Action="SetUNINSTALLARG"
After="SetSYSTEMARPCOMPONENT"><![CDATA[EXTUNINSTALL=0]]></Custom>
<Custom Action="SetUNINSTALLEXE"
After="SetUNINSTALLARG"><![CDATA[EXTUNINSTALL=0]]></Custom>
</InstallExecuteSequence>
Ciao, Thanx vostra risposta rapida. Proverò questo "NoModify" e "NoRepair". Nel frattempo questo non finisce il mio requisito principale. Quando seleziono il pulsante Rimuovi, voglio che il programma di avvio (setup.exe) venga eseguito al posto di msiexec. Come può essere realizzato? Sono in grado di vedere il setup.exe nella cartella "C: \ Documents and Settings \ All Users \ Application Data \ Installations \ {27161ACE-7BDE-44a2-862D-A8158FCB9201}" del sistema in cui viene eseguita l'installazione. Saluti, tvks – user187023
Ciao, provato inserendo questi due "nomodify" e "NoRepair". Inutile Non c'è nessun cambiamento. :( saluti, tvks – user187023
-1 mai incidere il Registro di sistema. – RedX