Re: [WiX-users] Several doubts on Upgrades

2006-09-14 Thread Bob Arnson
Tiago Silva wrote:
> I Know that I am already pushing my luck :) , but can you provide me a
> snippet or an example for it? Especially the use of the Upgrade and
> UpgradeVersion tags.

Take a look at http://www.tramontana.co.hu/wix/lesson4.php.

-- 
sig://boB
http://bobs.org

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Several doubts on Upgrades

2006-09-13 Thread Tiago Silva
> If you use major
> upgrades, you can supply just one .msi -- it both does a fresh
> installation and upgrades an existing installation. The MSI major
> upgrade support sets a property during upgrading, so you can use the
> presence of that property to suppress components and custom actions you
> want to be skipped during upgrade.

I Know that I am already pushing my luck :) , but can you provide me a
snippet or an example for it? Especially the use of the Upgrade and
UpgradeVersion tags.


On 9/12/06, Bob Arnson <[EMAIL PROTECTED]> wrote:
> Tiago Silva wrote:
> > We will produce in our weekly builds two setups. One that is the full
> > installation and other that have almost the same components that the
> > full install except files that the user changes (settings files), the
> > application database and customs actions that setup the server
> > environment on the clean install.
> >
> That works but is more complicated than necessary. If you use major
> upgrades, you can supply just one .msi -- it both does a fresh
> installation and upgrades an existing installation. The MSI major
> upgrade support sets a property during upgrading, so you can use the
> presence of that property to suppress components and custom actions you
> want to be skipped during upgrade.
> > The idea is to create the
> > upgrade as minor upgrades to avoid the change of ProductCode. What do
> > you think of this ?
> >
> The downside to minor upgrades is that they can't do a fresh
> installation and you need a chainer/bootstrapper to apply them.
> Double-clicking the .msi file doesn't install a minor upgrade.
> > My boss wants to keep track of the upgrades that has been installed.
> > The idea is to do something like MS style to keep track of the dates
> > and versions that were installed.
> >
> > In MS office for example we can see in add and remove programs the
> > entry to the application and if we check the "Show Updates" checkboxs
> > a list of updates to the application are showed. I was wondering what
> > kind of upgrades are it? Patches? Minor upgrades?
> >
> Add/Remove Programs shows that info only for patches. Upgrades of any
> kind replace the existing version of the product.
>
> --
> sig://boB
> http://bobs.org
>
>

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Several doubts on Upgrades

2006-09-12 Thread Bob Arnson
Tiago Silva wrote:
> We will produce in our weekly builds two setups. One that is the full
> installation and other that have almost the same components that the
> full install except files that the user changes (settings files), the
> application database and customs actions that setup the server
> environment on the clean install.
>   
That works but is more complicated than necessary. If you use major 
upgrades, you can supply just one .msi -- it both does a fresh 
installation and upgrades an existing installation. The MSI major 
upgrade support sets a property during upgrading, so you can use the 
presence of that property to suppress components and custom actions you 
want to be skipped during upgrade.
> The idea is to create the
> upgrade as minor upgrades to avoid the change of ProductCode. What do
> you think of this ?
>   
The downside to minor upgrades is that they can't do a fresh 
installation and you need a chainer/bootstrapper to apply them. 
Double-clicking the .msi file doesn't install a minor upgrade.
> My boss wants to keep track of the upgrades that has been installed.
> The idea is to do something like MS style to keep track of the dates
> and versions that were installed.
>
> In MS office for example we can see in add and remove programs the
> entry to the application and if we check the "Show Updates" checkboxs
> a list of updates to the application are showed. I was wondering what
> kind of upgrades are it? Patches? Minor upgrades?
>   
Add/Remove Programs shows that info only for patches. Upgrades of any 
kind replace the existing version of the product.

-- 
sig://boB
http://bobs.org


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Several doubts on Upgrades

2006-09-12 Thread Bob Arnson
Tony Hoyle wrote:
> I think you meant minor upgrades there.
>
> Major upgrades uninstall the old product first so there isn't any issue 
> with version numbers.
>   
Not exactly. MSI ignores the fourth field in ProductVersion so it
doesn't differentiate among ProductVersions that differ only in the
fourth field. So if you set UpgradeVersion elements to detect when the
"same" version is installed, it will treat all 1.0.0.x versions as the
same. You can do "blind" major upgrades so any version is installed (or
any version greater-than-or-equal-to), which would let you increment
just the fourth field.

-- 
sig://boB
http://bobs.org

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Several doubts on Upgrades

2006-09-12 Thread Tiago Silva
Thanks Bob for your rapid response.

As I told I am new to Wix upgrades and my knowledge on windows
installer is very limited.

I was wondering if the approach that i having is the right one.Let me
explain the main propose of it:

We will produce in our weekly builds two setups. One that is the full
installation and other that have almost the same components that the
full install except files that the user changes (settings files), the
application database and customs actions that setup the server
environment on the clean install.
If a new customer buy our application the full install will be
delivered. In meanwhile the upgrade will be distributed to the current
customers. With this approach we will have the latest source code
always on the upgrade msi. I know that this strategy will produce big
upgrade msi and if a critical bug is fixed the customer will receive
the all application files, but is a compromise to avoid the management
of several patches and several wix files. The idea is to create the
upgrade as minor upgrades to avoid the change of ProductCode. What do
you think of this ?

My boss wants to keep track of the upgrades that has been installed.
The idea is to do something like MS style to keep track of the dates
and versions that were installed.

In MS office for example we can see in add and remove programs the
entry to the application and if we check the "Show Updates" checkboxs
a list of updates to the application are showed. I was wondering what
kind of upgrades are it? Patches? Minor upgrades?

Thanks

Tiago

On 9/12/06, Bob Arnson <[EMAIL PROTECTED]> wrote:
> Tiago Silva wrote:
> > I have the main setup of the application that is generated by a nant
> > task. At the same time a upgrade is generated to the current version.
> > Let's consider the version 1.0.0.40 on both.
> >
> MSI doesn't differentiate between product versions in the fourth field
> so you won't be able to do major upgrades between 1.0.0.40 and 1.0.0.41.
> See the MSI doc for details on ProductVersion.
> > 2. It is possible to see the history of all upgrades in the add and
> > remove programs of by checking the "Show Updates" Check boxes?
> >
> ARP shows only products and patches.
> > 3. Does anybody knows a good source of snippets regarding this
> > subject. I think that the wix documentation lacks a little bit on
> > upgrades.
> >
> See http://www.tramontana.co.hu/wix/lesson4.php.
>
> --
> sig://boB
> http://bobs.org
>
>

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Several doubts on Upgrades

2006-09-12 Thread Tony Hoyle
Bob Arnson wrote:
> so you won't be able to do major upgrades between 1.0.0.40 and 1.0.0.41. 

I think you meant minor upgrades there.

Major upgrades uninstall the old product first so there isn't any issue 
with version numbers.

Tony



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Several doubts on Upgrades

2006-09-12 Thread Bob Arnson
Tiago Silva wrote:
> I have the main setup of the application that is generated by a nant
> task. At the same time a upgrade is generated to the current version.
> Let's consider the version 1.0.0.40 on both.
>   
MSI doesn't differentiate between product versions in the fourth field 
so you won't be able to do major upgrades between 1.0.0.40 and 1.0.0.41. 
See the MSI doc for details on ProductVersion.
> 2. It is possible to see the history of all upgrades in the add and
> remove programs of by checking the "Show Updates" Check boxes?
>   
ARP shows only products and patches.
> 3. Does anybody knows a good source of snippets regarding this
> subject. I think that the wix documentation lacks a little bit on
> upgrades.
>   
See http://www.tramontana.co.hu/wix/lesson4.php.

-- 
sig://boB
http://bobs.org


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Several doubts on Upgrades

2006-09-12 Thread Tony Hoyle
Tiago Silva wrote:
> 1. How do I produce a double click install to install the upgrade? The
> upgrade that i've playing in tutorial gives me a "Product already
> installed" message when I install it by double clicking the msi file.
> I'm using a minor upgrade, i.e., the same ProductID and different
> version.
> I was able to install it only by runing the command msiexec /i
> SampleUpgrade.msi REINSTALL=ALL REINSTALLMODE=vomus

Always use major upgrades, or wrap the msi in a .exe that provides the 
command line.. which is best depends on your situation.

Tony


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users