In <ExePackage> @UninstallCommand I may provide command-line arguments for
uninstallation, but in my case there is a dedicated uninstall.exe which had
to be called on Unistall.

1) May I provide a complete command rather than command line arguments for
uninstallation? Or, alternatively, tell burn to "Press Uninstall in Programs
and Features" for Uninstallation?

What I am actually trying with burn:
creating a Bundle of 4 Elements:
- Batch-File for setting password, called at installation time
- PostgrSQL EXE installer
- MS VC++ 2008 Redistributable EXE installer
- ODBC Connector MSI installer

Below you find the complete Code for that <Bundle>.

Result:
- Installation works fine, but resulting in 3 entries in "Programs and
Features"
  - My Bundle
  - PostgreSQL
  - MS VC++ 2008 Redistributable
- Uninstalling the Bundle just removes "MyBundle" and "PsqlOdbc" (what is
not surprising as the other 2 packages have their own enry in "Programs and
Features"

So my next questions are:
2) Is it possible to obtain just one entry "My Bundle" in "Programs and
Features" instead of 3?
3) Is there a better possibility to call a Batch-File before the
Installation than by "Installing" it as an ExePackage?
4) Is there a command for uninstalling VC++ 2008 Redistributable?

Best regards
Martin


<Bundle Tag='MyBundle' Name='My Bundle' Version='$(var.DbVersion)'
UpgradeCode='$(var.ProductUpgradeCodeBundle)' DisableModify='yes'
DisableRemove = 'no' >
        <BootstrapperApplicationRef
Id="WixStandardBootstrapperApplication.RtfLicense">
                <bal:WixStandardBootstrapperApplication
LicenseFile=".\resources\license.rtf" LogoFile=".\resources\mylogo.png"
SuppressOptionsUI="yes" />
        </BootstrapperApplicationRef>
        <Chain>
                <-- Set password for Windows-user "postgres" if existing 
(change it to new
one) -->
                <ExePackage Id="SetPw" SourceFile="./resources/setpw.bat"
InstallCommand="$(var.DbSuperPassword)" PerMachine="yes" Permanent="yes" />     
                <-- MS VC++ 2008 Redistributable -->
                <ExePackage Id="VcRedist" 
SourceFile="./resources/vcredist_x86.exe"
InstallCommand="/q"     PerMachine="yes" />
                <-- PostgreSQL: -unattendedmodeui minimalWithDialogs results in 
strange
problems! -->
                <ExePackage     Id="PostgreSql"
SourceFile="./resources/postgresql-9.1.3-1-windows.exe" InstallCommand="
--mode unattended --superaccount $(var.DbSuperUser) --superpassword
$(var.DbSuperPassword) --debuglevel 4 --unattendedmodeui minimal
--install_runtimes 0 --datadir
&quot;[ProgramFilesFolder]PostgreSQL\9.1\data&quot;" PerMachine="yes" />
                <-- ODBC Connector for PostgreSQL -->
                <MsiPackage     Id="PsqlOdbc" 
SourceFile=".\resources\psqlodbc.msi"
ForcePerMachine="yes" DisplayInternalUI="no" />
        </Chain>
</Bundle>


--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Burn-define-other-exe-as-uninstaller-tp7561898.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to