Re: [WiX-users] Fwd: Updating a msi installed by bootstrapper .

2014-11-05 Thread Farrukhw
As mentioned by Jeremiahf, you need to managed your Upgrade scenarios using
Upgrade element in your Wix for your msi.
In your case, you may need to do a major upgrade.

Also, please check if you are not changing Product GUID in your next
upgraded wix.



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Fwd-Updating-a-msi-installed-by-bootstrapper-tp7585953p7597786.html
Sent from the wix-users mailing list archive at Nabble.com.

--
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Fwd: Updating a msi installed by bootstrapper .

2013-05-17 Thread Rizwan Zahid
Hi,

I created following bootstrapper ,it install perfectly. now I am looking to
upgrade the msi installed by my boostrapper . if I give same upgrade and
greater version , it does n't update my msi instead create two entries in
control panel . please advise .

?xml version=1.0 encoding=UTF-8?
Wix xmlns=http://schemas.microsoft.com/wix/2006/wi;  xmlns:bal=
http://schemas.microsoft.com/wix/BalExtension; xmlns:util=
http://schemas.microsoft.com/wix/UtilExtension; 
  ?define RESPATH = Release Path?
  ?define VERSION = 2.05.17.0?

  ?if $(var.Platform) = x64 ?
  ?define Win64 = yes ?
  ?else ?
  ?define Win64 = no ?
  ?endif ?
  Bundle  Name=productname Version=$(var.VERSION) Manufacturer=man
 IconSourceFile=$(var.RESPATH)\icon.ico
UpgradeCode=55697084-0fbd-4e6c-ac1f-2d2779f1d05b
SplashScreenSourceFile=Resource\Splash.bmp   


!-- This will delay the start by the time specified (in milloseconds)
--
Variable Name=DelayStart Type=numeric Value=1000 /

BootstrapperApplicationRef
Id=WixExtendedBootstrapperApplication.HyperlinkLicense
  !-- Note: the name attibute must be bafunctions.dll but the source
can be anything --
  Payload SourceFile=Resource\License.htm /
  Payload Name=bafunctions.dll Compressed=yes
SourceFile=Resource\bafunctions.dll /
   Payload SourceFile=Resource\LogoSide.png /
  Payload SourceFile=Resource\Logo.png /
  !--Payload Name=1031\thm.wxl Compressed=yes
SourceFile=Resource\1031\HyperlinkTheme.wxl /
  Payload Name=2057\thm.wxl Compressed=yes
SourceFile=Resource\2057\HyperlinkTheme.wxl /--

/BootstrapperApplicationRef
 WixVariable Id=WixExtbaLicenseUrl Value=License.htm /
WixVariable Id=WixExtbaThemeXml Value=Resource\Bundle3Theme.xml /
!--WixVariable Id=WixExtbaThemeWxl
Value=Resource\HyperlinkLocaleTheme.wxl /--

Variable Name=InstallFolder Type=string
Value=[ProgramFilesFolder]ACME /
Variable Name=InstallFolder2 Type=string
Value=[WindowsVolume]Database /

Variable Name=RadioButton1 Type=numeric Value=0 /
Variable Name=RadioButton2 Type=numeric Value=1 /
Variable Name=RadioButton3 Type=numeric Value=0 /
Variable Name=RadioButton4 Type=numeric Value=0 /







!--BootstrapperApplicationRef
Id=WixStandardBootstrapperApplication.RtfLicense   
   bal:WixStandardBootstrapperApplication SuppressOptionsUI=yes
 LicenseFile=$(var.RESPATH)\License.rtf
 LogoFile=$(var.RESPATH)\logo3_new.png
 ThemeFile=$(var.RESPATH)\theme.xml
/

/BootstrapperApplicationRef--
!--WixVariable Id=WixExtbaLogo Value=Resource\logo3_new.png /
WixVariable Id=WixExtbaFailureCloseButton Value=Finish /--



!--BootstrapperApplicationRef
Id=WixExtendedBootstrapperApplication.HyperlinkLicense
  Payload SourceFile=Resource\License.htm /
  Payload SourceFile=Resource\LogoSide.png /
  Payload SourceFile=Resource\LogoSmall.png /
/BootstrapperApplicationRef
WixVariable Id=WixExtbaLicenseUrl Value=License.htm /
WixVariable Id=WixExtbaThemeXml Value=Resource\Bundle2Theme.xml /
WixVariable Id=WixExtbaThemeWxl Value=Resource\HyperlinkTheme.wxl
/--





Chain

  PackageGroupRef Id=FC/
  !--ExePackage Id=FC  SourceFile=$(var.RESPATH)\0Installer.exe
PerMachine=yes/ExePackage--
  MsiPackage SuppressSignatureVerification=yes
SourceFile=path\product.msi  ForcePerMachine=yes
DisplayInternalUI=yes After=FC /
/Chain
  /Bundle

  Fragment
!--Icon Id=icon.exe SourceFile=$(var.RESPATH)\icon.ico/
Property Id=ARPPRODUCTICON Value=icon.exe /--



WixVariable  Id=WixMbaPrereqPackageId  Value=FC /
util:RegistrySearch
   Root=HKLM
   Key=key
   Variable=FCINSTALLED /
PackageGroup  Id=FC
  ExePackage SuppressSignatureVerification=yes
  Id=FC  Permanent=yes
  SourceFile=$(var.RESPATH)\0Installer.exe
  PerMachine=yes
  DetectCondition=FCINSTALLED
   InstallCommand=/S/v/qn UninstallCommand=/S/v/qn
   /ExePackage

/PackageGroup

  /Fragment

/Wix


Thanks

Rizwan
--
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Fwd: Updating a msi installed by bootstrapper .

2013-05-17 Thread Jeremiahf
Here is the configuration I use in  product.wxs

 !--UPGRADE CONFIGURATION SECTION--
Upgrade Id=$(var.UpgradeCode)
  UpgradeVersion Minimum=$(var.InstallerProductVersion)
OnlyDetect=no Property=NEWERVERSIONDETECTED/
  !-- The next one will become useful if we apply conditional logic to
upgrades --
  UpgradeVersion Minimum=$(var.InitialProductVersion)
Maximum=$(var.InstallerProductVersion) OnlyDetect=no
IncludeMinimum=yes IncludeMaximum=no
  Property=OLDVERSIONBEINGUPGRADED /
/Upgrade

and remove the older version in my InstallExecuteSequence.

!--Install execution sequence order--
InstallExecuteSequence
  RemoveExistingProducts After=InstallFinalize/

J



On Fri, May 17, 2013 at 4:19 PM, Rizwan Zahid rizcs...@gmail.com wrote:

 Hi,

 I created following bootstrapper ,it install perfectly. now I am looking to
 upgrade the msi installed by my boostrapper . if I give same upgrade and
 greater version , it does n't update my msi instead create two entries in
 control panel . please advise .

 ?xml version=1.0 encoding=UTF-8?
 Wix xmlns=http://schemas.microsoft.com/wix/2006/wi;  xmlns:bal=
 http://schemas.microsoft.com/wix/BalExtension; xmlns:util=
 http://schemas.microsoft.com/wix/UtilExtension; 
   ?define RESPATH = Release Path?
   ?define VERSION = 2.05.17.0?

   ?if $(var.Platform) = x64 ?
   ?define Win64 = yes ?
   ?else ?
   ?define Win64 = no ?
   ?endif ?
   Bundle  Name=productname Version=$(var.VERSION) Manufacturer=man
  IconSourceFile=$(var.RESPATH)\icon.ico
 UpgradeCode=55697084-0fbd-4e6c-ac1f-2d2779f1d05b
 SplashScreenSourceFile=Resource\Splash.bmp   


 !-- This will delay the start by the time specified (in milloseconds)
 --
 Variable Name=DelayStart Type=numeric Value=1000 /

 BootstrapperApplicationRef
 Id=WixExtendedBootstrapperApplication.HyperlinkLicense
   !-- Note: the name attibute must be bafunctions.dll but the source
 can be anything --
   Payload SourceFile=Resource\License.htm /
   Payload Name=bafunctions.dll Compressed=yes
 SourceFile=Resource\bafunctions.dll /
Payload SourceFile=Resource\LogoSide.png /
   Payload SourceFile=Resource\Logo.png /
   !--Payload Name=1031\thm.wxl Compressed=yes
 SourceFile=Resource\1031\HyperlinkTheme.wxl /
   Payload Name=2057\thm.wxl Compressed=yes
 SourceFile=Resource\2057\HyperlinkTheme.wxl /--

 /BootstrapperApplicationRef
  WixVariable Id=WixExtbaLicenseUrl Value=License.htm /
 WixVariable Id=WixExtbaThemeXml Value=Resource\Bundle3Theme.xml /
 !--WixVariable Id=WixExtbaThemeWxl
 Value=Resource\HyperlinkLocaleTheme.wxl /--

 Variable Name=InstallFolder Type=string
 Value=[ProgramFilesFolder]ACME /
 Variable Name=InstallFolder2 Type=string
 Value=[WindowsVolume]Database /

 Variable Name=RadioButton1 Type=numeric Value=0 /
 Variable Name=RadioButton2 Type=numeric Value=1 /
 Variable Name=RadioButton3 Type=numeric Value=0 /
 Variable Name=RadioButton4 Type=numeric Value=0 /







 !--BootstrapperApplicationRef
 Id=WixStandardBootstrapperApplication.RtfLicense   
bal:WixStandardBootstrapperApplication SuppressOptionsUI=yes
  LicenseFile=$(var.RESPATH)\License.rtf
  LogoFile=$(var.RESPATH)\logo3_new.png
  ThemeFile=$(var.RESPATH)\theme.xml
 /

 /BootstrapperApplicationRef--
 !--WixVariable Id=WixExtbaLogo Value=Resource\logo3_new.png /
 WixVariable Id=WixExtbaFailureCloseButton Value=Finish /--



 !--BootstrapperApplicationRef
 Id=WixExtendedBootstrapperApplication.HyperlinkLicense
   Payload SourceFile=Resource\License.htm /
   Payload SourceFile=Resource\LogoSide.png /
   Payload SourceFile=Resource\LogoSmall.png /
 /BootstrapperApplicationRef
 WixVariable Id=WixExtbaLicenseUrl Value=License.htm /
 WixVariable Id=WixExtbaThemeXml Value=Resource\Bundle2Theme.xml /
 WixVariable Id=WixExtbaThemeWxl Value=Resource\HyperlinkTheme.wxl
 /--





 Chain

   PackageGroupRef Id=FC/
   !--ExePackage Id=FC  SourceFile=$(var.RESPATH)\0Installer.exe
 PerMachine=yes/ExePackage--
   MsiPackage SuppressSignatureVerification=yes
 SourceFile=path\product.msi  ForcePerMachine=yes
 DisplayInternalUI=yes After=FC /
 /Chain
   /Bundle

   Fragment
 !--Icon Id=icon.exe SourceFile=$(var.RESPATH)\icon.ico/
 Property Id=ARPPRODUCTICON Value=icon.exe /--



 WixVariable  Id=WixMbaPrereqPackageId  Value=FC /
 util:RegistrySearch
Root=HKLM
Key=key
Variable=FCINSTALLED /
 PackageGroup  Id=FC
   ExePackage SuppressSignatureVerification=yes
   Id=FC  Permanent=yes
   SourceFile=$(var.RESPATH)\0Installer.exe
   PerMachine=yes
   DetectCondition=FCINSTALLED
InstallCommand=/S/v/qn UninstallCommand=/S/v/qn
/ExePackage

 /PackageGroup

   /Fragment

 /Wix


 Thanks

 Rizwan