>
> Use the RemoveFile Element to get delete orphaned files with the
> attribute On="both". See ->
> http://wix.sourceforge.net/manual-wix3/wix_xsd_removefile.htm
>
>   
Nice!
> Yes you can't use an auto-generated ProductCode for a Minor Update only
> Major Upgrades. Your ProductCode needs to be unchanged for Small Update
> & Minor Updates. See ->
> http://msdn.microsoft.com/en-us/library/aa370579.aspx
>   
I am aware about the product codes. What i was asking for though is 
Component GUIDs.
Can they change with each msi?
i.e.
If i have
<Component Id="comp_8F13BB8407964D13A8410C17EFAFF9FB" DiskId="1" KeyPath="yes" 
Guid="D882408E-F553-41F7-A284-5BBA716F728B">
    
<File Id="file_D1CB3C8DDC7B417B9EE72858958A97D3" 
Source="$(var.FilesDir)\Tools\HttpCfgAcl_Instructions.txt" />
</Component>

and i make an update installer, where the file of this component is 
unchanged, what happens if i
assign a new GUID to the component?
> Palbinder Sandher 
> Software Deployment & IT Administrator
> T: +44 (0) 141 945 8500 
> F: +44 (0) 141 945 8501 
>
> http://www.iesve.com 
> **Design, Simulate + Innovate with the <Virtual Environment>**
> Integrated Environmental Solutions Limited. Registered in Scotland No.
> SC151456 
> Registered Office - Helix Building, West Of Scotland Science Park,
> Glasgow G20 0SP
> Email Disclaimer
>
> -----Original Message-----
> From: Stelios Kyprou [mailto:stelios.kyp...@formicary.net] 
> Sent: 02 July 2010 13:13
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Upgrade msi with removed components
>
> Found the issue!
> Since i'm new to wix and ma,ing Installers, i must havr broken the
> component rules at one point, and that's why the component resources
> where not removed.
> I changed the GUID of the component that should have been removed from
> version 1.0.0 to version 2.0.0, and then it was removed.
> The good thing is i now know that i HAVE to always try and not break the
> component rules.
>
> So now a new question is raised:
> -Let's say a resource becomes orphaned after uninstall, how can i get
> out of this state?
> Because when i reinstall the product, and then uninstall it again, that
> Resource will again not get uninstalled.
> -Also, when i install a product,  with a future plan of having both
> Minor AND Major updates, the component GUID's should not be "*" right? I
> can't visualise how this would work with a Minor update...
> Correct me if i'm wrong?
>
> Stelios
>
> Pally Sandher wrote:
>   
>> It should remove the file if the component is removed from a Feature.
>> Have you tested it? If so have you checked a verbose log?
>>
>> If you're getting an orphaned file try scheduling 
>> RemoveExistingProducts Before InstallInitialize e.g.
>>
>> <RemoveExistingProducts Before="InstallInitialize"/>
>>
>> See http://msdn.microsoft.com/en-us/library/aa371197.aspx
>>
>> Palbinder Sandher
>> Software Deployment & IT Administrator
>> T: +44 (0) 141 945 8500
>> F: +44 (0) 141 945 8501
>>
>> http://www.iesve.com
>> **Design, Simulate + Innovate with the <Virtual Environment>** 
>> Integrated Environmental Solutions Limited. Registered in Scotland No.
>> SC151456
>> Registered Office - Helix Building, West Of Scotland Science Park, 
>> Glasgow G20 0SP Email Disclaimer
>>
>> -----Original Message-----
>> From: Stelios Kyprou [mailto:stelios.kyp...@formicary.net]
>> Sent: 01 July 2010 18:06
>> To: General discussion for Windows Installer XML toolset.
>> Subject: [WiX-users] Upgrade msi with removed components
>>
>> Hello wix users,
>> a quick question!
>> If i create my msi with a major version upgrade (assume i'm doing 
>> everything correctly, i.e change ProductCode, PackageCode, leave 
>> Upgradecode intact, change version number, add
>>
>> <RemoveExistingProducts After="InstallFinalize"/>
>>
>> in InstallExecuteSequence),
>> and leave the Component Guids the same, and only remove one Component 
>> with a file Foo.txt, isn't it supposed to be removed from the install 
>> location? or does it stay orphaned?
>>
>> Regards,
>> Stelios
>>
>> --
>> Stelios Kyprou
>> Systems Engineer
>> Formicary - delivering quality financial technology solutions(TM) 
>> www.formicary.net
>>
>>
>>
>> ----------------------------------------------------------------------
>> --
>> ----
>> This message is confidential and may be privileged. It is intended 
>> solely for the named addressee. If you are not the intended recipient,
>>     
>
>   
>> please inform us.
>> Any unauthorised dissemination, distribution or copying hereof is 
>> prohibited.
>>
>> Formicary Limited registered office in England and Wales, address 1 
>> Taillar Road, Hedon, East Yorkshire HU12 8GU, registration number 
>> 3894343, VAT number 747644304, does not guarantee that the integrity 
>> of this communication has been maintained nor that this communication 
>> is free of viruses, interceptions or interference.
>> ----------------------------------------------------------------------
>> --
>> ----
>> ----------------------------------------------------------------------
>> --
>> ------
>> This SF.net email is sponsored by Sprint What will you do first with 
>> EVO, the first 4G phone?
>> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
>> _______________________________________________
>> WiX-users mailing list
>> WiX-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wix-users
>>
>>
>>
>> ----------------------------------------------------------------------
>> -------- This SF.net email is sponsored by Sprint What will you do 
>> first with EVO, the first 4G phone?
>> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
>> _______________________________________________
>> WiX-users mailing list
>> WiX-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wix-users
>>   
>>     
>
> --
> Stelios Kyprou
> Systems Engineer
> Formicary - delivering quality financial technology solutions(TM)
> www.formicary.net
>
>
> ------------------------------------------------------------------------
> ----
> This message is confidential and may be privileged. It is intended
> solely for
> the named addressee. If you are not the intended recipient, please
> inform us.
> Any unauthorised dissemination, distribution or copying hereof is
> prohibited.
>
> Formicary Limited registered office in England and Wales, address 1
> Taillar
> Road, Hedon, East Yorkshire HU12 8GU, registration number 3894343, VAT
> number
> 747644304, does not guarantee that the integrity of this communication
> has been
> maintained nor that this communication is free of viruses, interceptions
> or
> interference.
> ------------------------------------------------------------------------
> ----
>
> ------------------------------------------------------------------------
> ------
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>   

-- 
Stelios Kyprou
Systems Engineer
Formicary - delivering quality financial technology solutions(TM)
www.formicary.net



----------------------------------------------------------------------------
This message is confidential and may be privileged. It is intended solely for
the named addressee. If you are not the intended recipient, please inform us.
Any unauthorised dissemination, distribution or copying hereof is prohibited.

Formicary Limited registered office in England and Wales, address 1 Taillar
Road, Hedon, East Yorkshire HU12 8GU, registration number 3894343, VAT number
747644304, does not guarantee that the integrity of this communication has been
maintained nor that this communication is free of viruses, interceptions or
interference.
----------------------------------------------------------------------------
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to