Re: [WiX-users] Burn: cache only Burn engine?

2012-03-23 Thread Rob Mensching
If the user renames the executable, then the default prompt for the
executable will be incorrect but he or she can still browse to it with the
old name.

On Wed, Mar 21, 2012 at 9:43 AM, Vadym Verba vve...@sdl.com wrote:

 Hello.

 Recently we have some problem with bundle maintaining. Here is use case:

 1.   Customer gets cd-layout and renames bundle from OldName to
 NewName.

 2.   Then he installs some 2 products from bundle.

 3.   Then he deletes one and tries to install it again.

 Boom! Bundle failed with Failed to find payload error, where it refers to
 original bundle location with OldName.

 It uses to cache entire bundle and uses it for source prompts, but then  I
 found this in wix history:

 WixBuild: Version 3.6.2109.0 - RobMen: SFBUG:3197472 - cache only Burn
 engine, fix up signatures when using attached containers.

 So I wonder what should my bundle do now, if some mad customer decides to
 rename or even delete original bundle (to free some disk space for
 instance)?
 I see wix installer itself solved this problem by downloading cab from
 internet, but I don't think this is the option in my case, because we have
 packages attached to bundle default container (inside bundle in other
 words).

 As usual, you are the best and I will appreciate any help here). Maybe make
 some feature request to allow entire bundle to be cached by setting some
 attribute? Or it is just by design and we have to tell customer to do not
 remove or rename cd-layout?

 BR,

 Vadym.

 /pre
 font face=arial  size=1 color=#736F6E
 bSDL PLC confidential, all rights reserved./b
 If you are not the intended recipient of this mail SDL requests and
 requires that you delete it without acting upon or copying any of its
 contents, and we further request that you advise us.BR
 SDL PLC is a public limited company registered in England and Wales.
  Registered number: 02675207.BR
 Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6
 7DY, UK.
 /font

 --
 This SF email is sponsosred by:
 Try Windows Azure free for 90 days Click Here
 http://p.sf.net/sfu/sfd2d-msazure
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users




-- 
virtually, Rob Mensching - http://RobMensching.com LLC
--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Burn: cache only Burn engine? Source prompt in BA

2012-03-23 Thread Vadym Verba
If the user renames the executable, then the default prompt for the
executable will be incorrect but he or she can still browse to it with the
old name.

Thanks for pointing me to the right direction). For those who might have
problems with source prompt in BA here is solution:

1)  Subscribe on BootstrapperApplication.ResolveSource event

2)  In event handle execute Engine.SetLocalSource(e.PackageOrContainerId,
e.PayloadId, new_file_location) (harvest new_file_location data somehow).

3)  Before handler return, execute e.Result = Result.Retry

Note that after that engine will try to resolve source with provided data
only once, so it is up to BA to validate if new_file_location is a valid
source and ask user to reenter path if it is needed.

But it is still unclear how patch bundle should handle source missing, if it
is launched in Patch relation. There is no way to detect main bundle was
launched in silence mode and if patch bundle decides to show dialog for
source prompt it may hang some installation script (on PowerShell for
instance) rather than just fails.

 

/pre
font face=arial  size=1 color=#736F6E
bSDL PLC confidential, all rights reserved./b
If you are not the intended recipient of this mail SDL requests and requires 
that you delete it without acting upon or copying any of its contents, and we 
further request that you advise us.BR
SDL PLC is a public limited company registered in England and Wales.  
Registered number: 02675207.BR
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, 
UK.
/font
--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Burn: cache only Burn engine?

2012-03-21 Thread Vadym Verba
Hello.

Recently we have some problem with bundle maintaining. Here is use case:

1.   Customer gets cd-layout and renames bundle from OldName to NewName.

2.   Then he installs some 2 products from bundle.

3.   Then he deletes one and tries to install it again.

Boom! Bundle failed with Failed to find payload error, where it refers to
original bundle location with OldName.

It uses to cache entire bundle and uses it for source prompts, but then  I
found this in wix history:

WixBuild: Version 3.6.2109.0 - RobMen: SFBUG:3197472 - cache only Burn
engine, fix up signatures when using attached containers.

So I wonder what should my bundle do now, if some mad customer decides to
rename or even delete original bundle (to free some disk space for instance)?
I see wix installer itself solved this problem by downloading cab from
internet, but I don't think this is the option in my case, because we have
packages attached to bundle default container (inside bundle in other words).

As usual, you are the best and I will appreciate any help here). Maybe make
some feature request to allow entire bundle to be cached by setting some
attribute? Or it is just by design and we have to tell customer to do not
remove or rename cd-layout?

BR,

Vadym.

/pre
font face=arial  size=1 color=#736F6E
bSDL PLC confidential, all rights reserved./b
If you are not the intended recipient of this mail SDL requests and requires 
that you delete it without acting upon or copying any of its contents, and we 
further request that you advise us.BR
SDL PLC is a public limited company registered in England and Wales.  
Registered number: 02675207.BR
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, 
UK.
/font
--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users