[wix-users] How to notify user about the upgradation of existing installed version to new version in Wix BA
shashank khadse
shashank.s.khadse at gmail.com
Wed May 4 02:20:46 PDT 2016
Thanks for the reply.
Actually the situation is like this, user had already installed an older
version ( lets say 6.0.0.1 ) and now he is trying to install a newer
version ( Lets say 6.0.0.10 )
So I would like to know how to detect and notify the user that already an
older version is installed and provide an option to remove the older one
..something like that.
I am not sure how to handle this in BA. ( I have absolutely no experience
of .Net so adding custom action in BA is not an option )
Is there any way to achieve the same in Bundle ?
Thanks in advance.
Shanky
On Tue, May 3, 2016 at 7:19 PM, Hoover, Jacob <Jacob.Hoover at greenheck.com>
wrote:
> I opted for customizing WixStdBA, passing a switch to tell the installer
> to check for updates. Then, within my application, I utilize a DLL that
> uses the existing wix Bundle API to query for an installed bundle. This
> allows me to locate the path to the bundle and invoke it "as needed" when
> my application is running. In my BA, if I am checking for updates, I
> suppress the UI and only show it after the atom feed is processed and if an
> update is available. I've also customized a theme to allow users to modify
> from ARP and then check for updates.
>
>
> https://github.com/wixtoolset/wix3/compare/wix3103...jchoover:develop-3.10-WixStdBA
> would be a good starting point for my changes.
>
>
> -----Original Message-----
> From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf
> Of Phill Hogland
> Sent: Monday, May 02, 2016 9:28 AM
> To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
> Subject: Re: [wix-users] How to notify user about the upgradation of
> existing installed version to new version in Wix BA
>
> The implementation of updateviewmodel.cs in the wix toolset source for the
> WixBA (used by the wix toolset itself) is a pattern that can be used in a
> mba bundle (and a similar pattern is supported in the WixStdBA). It is
> based on publishing a Atom syndication feed (much like is done on the WiX
> Toolset site). Any application or service can also query for the Atom feed
> and determine if an update is available, and thereby provide a notice to
> the user.
>
> ________________________________________
> From: wix-users <wix-users-bounces at lists.wixtoolset.org> on behalf of
> sampat magi <ssmcs060 at gmail.com>
> Sent: Monday, May 2, 2016 9:11:12 AM
> To: WiX Toolset Users Mailing List
> Subject: Re: [wix-users] How to notify user about the upgradation of
> existing installed version to new version in Wix BA
>
> have had a look at updateviewmodel.cs code of wixstdBA source? But, this
> will check for updates only when u run the bundle.
>
> writing windows service could be an option, scheduling tasks could be an
> option.
>
> not sure, i have nt tried, just a vague guess.
>
>
> Regards
> Sampat
>
> On Mon, May 2, 2016 at 7:38 PM, shashank khadse <
> shashank.s.khadse at gmail.com
> > wrote:
>
> > Hello All,
> > I have a situation were in I need to notify the user about the
> > upgradation of the existing installed version in Wix BA.
> > What are the possible options to achive the same in wix bundle ?
> >
> > Thanks & Regards
> > Shanky
> >
> > ____________________________________________________________________
> > WiX Toolset Users Mailing List provided by FireGiant
> > http://www.firegiant.com/
> >
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>
More information about the wix-users
mailing list