Okay, found the element and attribute (thanks!), but I'm not sure I understand 
what it does, or how it might be useful in my case, because our software 
already downloads the most recent version automatically and runs it, 
so...there's no point to look to a URL for an update.

Oh, although this could be useful for the original poster, Paul. But the 
documentation says about the Update element's Location attribute: "In the 
future the engine will be able to acquire an update bundle from the location 
and determine if it is newer than the current executing bundle."

This suggests that it currently doesn't do that?

Alain

-----Original Message-----
From: Steven Ogilvie [mailto:steven.ogil...@titus.com] 
Sent: June 4, 2013 11:56
To: Neil Sleightholm; afor...@cmu.edu; General discussion for Windows Installer 
XML toolset.
Subject: RE: [WiX-users] [WIX-users] Asking a website about the latest release 
of a product [P]

Classification: Public
This is from the Bundle.wxs for the WIX 3.7 install that is provided in the WIX 
3.7 source that you can download:

Check the two elements:
UpdateUrl
Update

<Bundle Name='WiX Toolset v$(var.WixVersion)' Manufacturer='Microsoft 
Corporation'
            Version='$(var.WixVersion)' 
UpgradeCode='65E893AD-EDD5-4E7D-80CA-F0F50F383532'
            IconSourceFile='ProjectFile.ico' 
SplashScreenSourceFile='SplashScreen.bmp'
            AboutUrl='http://wixtoolset.org' 
UpdateUrl='http://wixtoolset.org/releases/feed/v3.7'
            Compressed='yes'>

        <swid:Tag Regid="regid.2008-09.org.wixtoolset" />
        <Update Location='http://wixtoolset.org/releases/feed/v3.7' />

-----Original Message-----
From: Neil Sleightholm [mailto:n...@x2systems.com]
Sent: June-04-13 11:52 AM
To: afor...@cmu.edu; General discussion for Windows Installer XML toolset.; 
Steven Ogilvie
Subject: RE: [WiX-users] [WIX-users] Asking a website about the latest release 
of a product [P]

For some reason the online help doesn't mention it but it is in the help file, 
go to the index and look for "Update Element".

This is only a reference to the URL, you have to write the code to handle it.

Neil

-----Original Message-----
From: Alain Forget [mailto:afor...@cmu.edu]
Sent: 04 June 2013 16:42
To: 'Steven Ogilvie'; 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] [WIX-users] Asking a website about the latest release 
of a product [P]

There's a Burn Update element? Uh oh. Maybe this is part of the problems I'm 
having with my bundle upgrades.

I can't seem to find such an element though. The closest I've come is this: 
http://wix.sourceforge.net/manual-wix3/wix_xsd_upgrade.htm

But that doesn't seem right, because the parents are Fragment and Product, not 
Bundle or Chain or something burn-y.

Can you please point me in the right direction?

Alain

-----Original Message-----
From: Steven Ogilvie [mailto:steven.ogil...@titus.com]
Sent: June 4, 2013 11:15
To: afor...@cmu.edu; General discussion for Windows Installer XML toolset.
Subject: RE: [WiX-users] [WIX-users] Asking a website about the latest release 
of a product [P]

Classification: Public
What about the Burn Update element?

-----Original Message-----
From: Alain Forget [mailto:afor...@cmu.edu]
Sent: June-04-13 11:00 AM
To: 'Paul F Brewster'; 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] [WIX-users] Asking a website about the latest release 
of a product

I probably re-invented the wheel, and not very well. Let the deployment experts 
here be the judge. :-)

When our software starts up, it sends its version number to our server, which 
compares that to the current version (stored in a database). If there's a 
mismatch, it sends our client a link where the new version's bundle installer 
can be downloaded and a checksum of the file. The client downloads the 
installer, calculates the checksum and verifies it to the one it got from the 
server (to make sure the file downloaded intact...btw, all the server-client 
discussions and software downloading are secured with SSL or some form of 
symmetric encryption. I'd hate our software to be a vector for client 
infection). If the installer seems intact, it then runs the installer with this 
command:

cmd /c start MyInstaller.exe -quiet -norestart -log MyInstaller.log

And WiX awesomely does the rest (e.g. stops our software, removes the old 
version, installs the new version, and runs it), all without any user 
interruption (although I am wrestling with restart issues at the moment, but I 
expect it to be fixed). Our Wix bundle/packages are set for MajorUpgrades only, 
which makes upgrade life so much easier than dealing with minor upgrades and 
patches seem to get messy and complicated. That said, if your software is 
massive, then MajorUpgrades, which I think basically uninstall the old version 
and install the new version, could be very cumbersome for users, especially if 
there are frequent updates.

Alain

-----Original Message-----
From: Paul F Brewster [mailto:pbrews...@starpower.net]
Sent: June 4, 2013 10:43
To: afor...@cmu.edu; 'General discussion for Windows Installer XML toolset.'
Subject: RE: [WiX-users] [WIX-users] Asking a website about the latest release 
of a product

Alain
It's the former rather than the later. Is there a current standardized protocol 
that you use within your own software to make that check at startup?  I'm 
trying to use best practices and not re-invent the wheel.
This may not be a real WiX question but since this forum deals with software 
deployment issues I thought I raise the issue anyway.
Thanks
Paul 

-----Original Message-----
From: Alain Forget [mailto:afor...@cmu.edu]
Sent: Tuesday, June 04, 2013 10:08 AM
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] [WIX-users] Asking a website about the latest release 
of a product

Are you looking for updates to your own software that the user is installing, 
or third-party software (like the Java Runtime Environment)?

We do the former in our software (not WiX) at startup, not in WiX. For the 
latter, we just bundle the current version with our own software installer 
using burn.

Alain

-----Original Message-----
From: Paul Brewster [mailto:pbrews...@starpower.net]
Sent: June 3, 2013 22:30
To: WiX-users@lists.sourceforge.net
Subject: [WiX-users] [WIX-users] Asking a website about the latest release of a 
product

Does anyone have a suggestion/sample code for checking a web site for the 
latest release of a product?

 

Paul Brewster

5501 Hawthorne Pl, NW

Washington, DC 20016-2668

H (202) 362 6324

C (301) 351 1949

 

----------------------------------------------------------------------------
--
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations 2.
Dashboards that offer high-level views of enterprise services 3. A single 
system of record for all IT processes http://p.sf.net/sfu/servicenow-d2d-j
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


----------------------------------------------------------------------------
--
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations 2.
Dashboards that offer high-level views of enterprise services 3. A single 
system of record for all IT processes http://p.sf.net/sfu/servicenow-d2d-j
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations 2. 
Dashboards that offer high-level views of enterprise services 3. A single 
system of record for all IT processes http://p.sf.net/sfu/servicenow-d2d-j
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



This message has been marked as Public by Steven Ogilvie on June-04-13 11:14:58 
AM.

The above classification labels were added to the message by TITUS Message 
Classification. For more information visit www.titus.com.


------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations 2. 
Dashboards that offer high-level views of enterprise services 3. A single 
system of record for all IT processes http://p.sf.net/sfu/servicenow-d2d-j
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



This message has been marked as Public by Steven Ogilvie on June-04-13 11:56:03 
AM.

The above classification labels were added to the message by TITUS Message 
Classification. For more information visit www.titus.com.


------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to