Page 1 of 1

[color=darkred]Patch-- For assemblies[/color]

Posted: Tue Nov 07, 2006 7:02 am
by muddasirqdiwai
HI

I created a installer (call as MAIN1 ver 0.1), it will install two assemblies A1 and A2 of version 1.0 both (i am working on dot net 1.1 framework)

then i did some changes on A2 and it version changed to 2.0. then i included this assembly in my installer(MAIN1) and removed the previous A2

i added my already build msi 0.1 as patach reference
Install Aware settings : i tried build mode compressed and un compressed
Build patch

i tried once both main installer and patch build with compressed and then with un compressed

Problem : (in both build mode) patch run absolutely fine but it does not add new A2 in GAC




Posted: Tue Nov 07, 2006 7:10 am
by MichaelNesmith
Patches never install new files, they patch existing files.

can u elaborate on that

Posted: Tue Nov 07, 2006 7:12 am
by muddasirqdiwai
MichaelNesmith wrote:Patches never install new files, they patch existing files.


are saying way iam trying to do is in correct

example

Posted: Tue Nov 07, 2006 8:36 am
by muddasirqdiwai
MichaelNesmith wrote:Patches never install new files, they patch existing files.


hi can u tell if u faced the same problem how would u resolve it

can u explain ur comment with an example

Posted: Wed Nov 08, 2006 7:32 pm
by MichaelNesmith
Yes, what you are trying to do is incorrect and exceeds the design specifications of Windows Installer patches.

HI

Posted: Thu Nov 09, 2006 1:57 am
by muddasirqdiwai
MichaelNesmith wrote:Yes, what you are trying to do is incorrect and exceeds the design specifications of Windows Installer patches.


Hi FYI it worked i found a way to do ....... :D tc

Posted: Sat Nov 11, 2006 3:36 pm
by MichaelNesmith
Great :lol: Care to tell us how, so other users can also benefit?

hi Solution

Posted: Sun Nov 12, 2006 3:02 am
by muddasirqdiwai
hi

just add those assemblies below section [OFFLINE CONTENT]

when u add assemblies installer add them just above condition in which it compare that it is patch or complete installetion

if u post where i have mentioned so it will include in both senario and it will install new assemblies or updated version as well

problem with this is that it won't un install previous version of same assemblies

but u try it with normal text files it will work perfectly

have fun :D

Posted: Sun Nov 12, 2006 2:03 pm
by MichaelNesmith
Ah, wonderful! Thank you very much :D