Thanks for the confirmation Phil. I would try to find a solution to the 
same.

On 08-03-2014 00:17, Phil Wilson wrote:
> I don't believe that any of that is possible using anything in Windows
> Installer or WiX, unless you build your own Burn functionality. It
> seems to me that you'd need to inspect the system before installing
> anything to see what is already installed, where it is installed, and
> then choosing an install of one of the several MSI files I think you'd
> need to cover those scenarios, one of which would upgrade and one or
> more that wouldn't. You need some kind of pre-install program to do
> that.  The bottom line is that I think you'd have to invent the
> functionality to achieve what you want, there's nothing I know of that
> you can just pick up and use.
> ---------------
> Phil Wilson
>
>
> On Fri, Mar 7, 2014 at 2:28 AM, Suvrajyoti Panda
> <suvrajyo...@contata.co.in> wrote:
>> Yeah Phil i understood that. But if some has faced the below scenarios
>> to achieve, please let me know if it is possible to achieve these and how:
>>
>> I am not able install different versions my application that i developed
>> with WIX. Below are my requirements
>>
>> a.I want it to uninstall and reinstall automatically if the install is
>> in the same folder location say pipelineoptimizer 6.0.0. What this means
>> is that if it is the same build version i.e. 6.0.0 or simply say version
>> of the two products, we want it to "overwrite". If it is a different
>> build version, we want it to install side by side.  I put "overwrite" in
>> quotes because what it should actually do is uninstall and reinstall so
>> that it is a clean install.
>>
>> b.I would also want it to install separately if it was 6.0.1 as well,
>> not just a change to the major number. Also, we don't want any manual
>> changes to the scripts when upgrading versions(say changing the upgrade
>> code).
>>
>> C. If we are installing to same directory(say pipelineoptimizer 6.0.0),
>> it should uninstall/reinstall. If it is a different directory, it should
>> install side-by-side without uinstalling the previous one already
>> installed. Since the directories by default are <ProductName>
>> <major.minor.revision>, all 3 of those numbers have to be the same for
>> it to overwrite. However, if someone is intentionally doing a
>> side-by-side and changes the default directory, that should allow a
>> side-by-side install without uinstalling the previous one already installed.
>>
>> Below is the code that i have:
>> <Product Name='PipelineOptimizer $(var.SvnVersion)' Id='*'
>> UpgradeCode='{A73A66C4-CBC1-45DD-B6A3-85D6252AE592}'
>>       Language='1033' Codepage='1252' Version='$(var.SvnVersionBuild)'
>> Manufacturer='$(var.ManufacturerName)'>
>>
>>       <Package Id='*' Keywords='Installer' Description="Tort Installer
>> 1.0" Comments='Tort Installer' Platform='x64'
>> Manufacturer='$(var.ManufacturerName)'
>>         InstallerVersion='300' Languages='1033' Compressed='yes'
>> SummaryCodepage='1252' />
>>
>>       <MajorUpgrade AllowDowngrades='no' DowngradeErrorMessage="A later
>> version of [ProductName] is already installed."
>> Schedule="afterInstallInitialize" />
>>
>> Please let me know what changes i need to make.
>>
>> Regards,
>> Suvra Jyoti
>>
>> On 05-03-2014 23:53, Phil Wilson wrote:
>>> Most of this is just the way that  Windows Installer works, by design.
>>> It's the ProductCode (that Id) that identifies the product, so you
>>> cannot have the same product installed twice.
>>>
>>> If your product version doesn't come out consistently, and is not what
>>> was intended, then that sounds like a build problem to me. It's your
>>> build process that should produce two separate versions, but
>>> apparently it can't.
>>> ---------------
>>> Phil Wilson
>>>
>>>
>>> On Wed, Mar 5, 2014 at 4:16 AM, Suvrajyoti Panda
>>> <suvrajyo...@contata.co.in> wrote:
>>>> Hi All,
>>>>
>>>> I am not able to install different versions of my application through
>>>> installer i have created side by side. It says that it is already
>>>> installed. We should be able to install 2 different builds.
>>>>
>>>> <Product Name='PipelineOptimizer Tort Engine $(var.SvnVersion)'
>>>> Id='5A1581BE-27C3-46A1-8699-4F1D642C97E0'
>>>> UpgradeCode='C54B7D5D-0E66-43E8-A770-C9750693F057' Language='1033'
>>>> Codepage='1252' Version='$(var.SvnVersion)'
>>>> Manufacturer='$(var.ManufacturerName)'>
>>>>
>>>>         <Package Id='*' Keywords='Installer' Description="Tort Installer
>>>> 1.0" Comments='Tort Installer' Platform='x64'
>>>> Manufacturer='$(var.ManufacturerName)'
>>>>          InstallerVersion='300' Languages='1033' Compressed='yes'
>>>> SummaryCodepage='1252'></Package>
>>>>
>>>> In the above the <Product> version sometimes comes out as 06.00.3422 and
>>>> sometimes as 06.00.3424 .The first installer is able to install the
>>>> application(version 06.00.3422) but second one with version 06.00.3424
>>>> is not allowed to install.It says that it is already installed. I tried
>>>> changing the <Product> Id attribute to '*' and then it allows to install
>>>> the two versions side by side. But in this case even if the version
>>>> remains as 06.00.3422(since its is dynamic and i am fetching the
>>>> revision from svn) then we have two applications with the same same
>>>> version installed side by side. That's not something that should happen.
>>>> It should install the second version only if it is different from the
>>>> first.
>>>>
>>>> If any one knows the workaround please provide your inputs on the same.
>>>>
>>>> Regards
>>>> ------------------------------------------------------------------------------
>>>> Subversion Kills Productivity. Get off Subversion & Make the Move to 
>>>> Perforce.
>>>> With Perforce, you get hassle-free workflows. Merge that actually works.
>>>> Faster operations. Version large binaries.  Built-in WAN optimization and 
>>>> the
>>>> freedom to use Git, Perforce or both. Make the move to Perforce.
>>>> http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
>>>> _______________________________________________
>>>> WiX-users mailing list
>>>> WiX-users@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/wix-users
>>> ------------------------------------------------------------------------------
>>> Subversion Kills Productivity. Get off Subversion & Make the Move to 
>>> Perforce.
>>> With Perforce, you get hassle-free workflows. Merge that actually works.
>>> Faster operations. Version large binaries.  Built-in WAN optimization and 
>>> the
>>> freedom to use Git, Perforce or both. Make the move to Perforce.
>>> http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
>>> _______________________________________________
>>> WiX-users mailing list
>>> WiX-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/wix-users
>>>
>> ------------------------------------------------------------------------------
>> Subversion Kills Productivity. Get off Subversion & Make the Move to 
>> Perforce.
>> With Perforce, you get hassle-free workflows. Merge that actually works.
>> Faster operations. Version large binaries.  Built-in WAN optimization and the
>> freedom to use Git, Perforce or both. Make the move to Perforce.
>> http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
>> _______________________________________________
>> WiX-users mailing list
>> WiX-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wix-users
> ------------------------------------------------------------------------------
> Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
> With Perforce, you get hassle-free workflows. Merge that actually works.
> Faster operations. Version large binaries.  Built-in WAN optimization and the
> freedom to use Git, Perforce or both. Make the move to Perforce.
> http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>


------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to