Re: [WiX-users] [SPAM] Re: Localizing Managed BA

2014-11-12 Thread gowri.malasani
Thanks Phill, my MBA is also hosted in another application. But application 
that hosts my MBA does not have any resources, also I do not have one resource 
file for each language as I use Passolo to generate satellite assemblies for me.

I used one of the great features of Passolo to generate pseudo English text and 
trying to test it out by copying generated satellite assembly to 1032 as 
suggested by burn. But text always comesup in English, though I am forcing it 
to fallback to en-US in my assembly file.
[assembly: NeutralResourcesLanguage(en-US, 
UltimateResourceFallbackLocation.Satellite)]

What I am looking for are the instructions on how to support localization for 
an MBA. Any link/documentation is greatly appreciated.

Were you able to resolve this issue by doing what you mentioned below?

Thanks
Gowri

-Original Message-
From: Phill Hogland [mailto:phogl...@rimage.com] 
Sent: Friday, November 07, 2014 4:09 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] [SPAM] Re: Localizing Managed BA

I had similar challenges back when I first created a mba and added localization 
about a year ago.  I was just learning C# (from a C++
background) and so I was pretty green (and still am with C#).  One issue that I 
had was that since my mba.dll is hosted in another application, there seemed to 
be a conflict with using the default resources.resx, as it was already used in 
the host application.  I found that I needed to have it in my project, empty, 
but also add my strings to new files, in project's Properties folder 
mymbaUXRes.en.resx, mymbaUXRes.de.resx etc.

My namespace is:
company.div.app.Properties.myUXRes

I also had to comment out this in my assembly file.
//causes an exception when using Strings.resx
//[assembly: NeutralResourcesLanguage(en-US, 
UltimateResourceFallbackLocation.Satellite)]




--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Localizing-Managed-BA-tp7597813p7597815.html
Sent from the wix-users mailing list archive at Nabble.com.

--
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] [SPAM] Re: [SPAM] Re: Localizing Managed BA

2014-11-12 Thread gowri.malasani
Thanks Phill, Yes I tried with en-US as that is how I did for my other C#/.Net 
assemblies that works. Then I came across an article that talks about using 
Decimal identifiers for languages, but I guess that is only for wix 
translations!

I am sure there must be something I am missing, which is causing my satellite 
assembly not getting loaded. Let me try changing my Resources.resx to something 
else.

-Original Message-
From: Phill Hogland [mailto:phogl...@rimage.com] 
Sent: Wednesday, November 12, 2014 4:03 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] [SPAM] Re: [SPAM] Re: Localizing Managed BA

There are different approaches to doing localization in a managed context, and 
since this is a .Net issue and not specifically related to WiX I did not find a 
specific document with steps on how to do it.  Yes I localize my mba for en, 
de, es, it, ja, and zh.  My approach was a little different than yours but I 
think the core issues remains the same.  I am not using satellite DLLs.  My 
resource strings are embedded resources.  Even so a wix mba DLL gets loaded 
into a host provided by wix.  And while it was about a year ago that I got this 
stuff working, and I was very knew to C# at the time and may not have 
understood what I was doing, I had to define a different namespace for my 
strings 'myRes', rather than using the default 'resources' namespace which 
already existed.  ILSpy was helpful in sorting that out.

I think Sean had a good suggestion (with documentation). Did you try:
Payload
SourceFile=..\Translation\lib\Release\en-US\Agilent.OpenLAB.Installation.resources.dll
Name=en-US\Agilent.OpenLAB.Installation.resources.dll/ 




--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Localizing-Managed-BA-tp7597813p7597891.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Localizing Managed BA

2014-11-07 Thread gowri.malasani
Hi, I am trying to support localization for my Managed BA. I generated pseudo 
localized satellite assembly for en-US.

Modified bundle.wxs to include satellite resource dll
Payload 
SourceFile=..\Translation\lib\Release\en-US\Agilent.OpenLAB.Installation.resources.dll
 Name=1033\Agilent.OpenLAB.Installation.resources.dll/

But I get the error when I run my BA (See below). What am I doing wrong?

I even tried to build my BA with compressed property set to no on the 
resource dll payload to see if the file is copied to language specific folder, 
but that didn't work either.
Thanks

[101B4:10244][2014-11-07T14:30:19]e000: System.Xaml.XamlObjectWriterException: 
The invocation of the constructor on type 
'Agilent.OpenLAB.Installation.Pages.License.LicensePage' that matches the 
specified binding constraints threw an exception. --- 
System.Resources.MissingSatelliteAssemblyException: The satellite assembly 
named Agilent.OpenLAB.Installation.resources.dll, 
PublicKeyToken=968ccb9b2a5fe74 for fallback culture en-US either could not 
be found or could not be loaded. This is generally a setup problem. Please 
consider reinstalling or repairing the application.
   at System.Resources.ManifestBasedResourceGroveler.HandleSatelliteMissing()
   at 
System.Resources.ManifestBasedResourceGroveler.GrovelForResourceSet(CultureInfo 
culture, Dictionary`2 localResourceSets, Boolean tryParents, Boolean 
createIfNotExists, StackCrawlMark stackMark)
   at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo 
requestedCulture, Boolean createIfNotExists, Boolean tryParents, 
StackCrawlMark stackMark)
   at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo 
culture, Boolean createIfNotExists, Boolean tryParents)
   at System.Resources.ResourceManager.GetResourceSet(CultureInfo culture, 
Boolean createIfNotExists, Boolean tryParents)
   at MS.Internal.Resources.ResourceManagerWrapper.get_ResourceSet()
   at MS.Internal.Resources.ResourceManagerWrapper.GetStream(String name)
   at MS.Internal.AppModel.ResourcePart.EnsureResourceLocationSet()
   at MS.Internal.AppModel.ResourcePart.GetContentTypeCore()
   at System.IO.Packaging.PackagePart.get_ContentType()
   at System.Windows.Application.LoadComponent(Object component, Uri 
resourceLocator)
   at 
Agilent.OpenLAB.Installation.Pages.License.WelcomePageView.InitializeComponent()
   at Agilent.OpenLAB.Installation.Pages.License.LicensePage..ctor()
   --- End of inner exception stack trace ---
--
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Adding msi/exe packages outside the burn chain

2014-04-11 Thread gowri.malasani
Thanks Rob. Is there a work around to achieve this?

-Original Message-
From: Rob Mensching [mailto:r...@firegiant.com] 
Sent: Thursday, April 10, 2014 11:34 PM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] Adding msi/exe packages outside the burn chain

No. Burn provides a very strong security statement for the contained packages. 
If you add packages, you'll want to update the bundle to include them in the 
chain or include the additional packages in a related bundle and launch them in 
succession.

___
 FireGiant  |  Dedicated support for the WiX toolset  |  
http://www.firegiant.com/

-Original Message-
From: gowri.malas...@non.agilent.com [mailto:gowri.malas...@non.agilent.com]
Sent: Thursday, April 10, 2014 4:04 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Adding msi/exe packages outside the burn chain

Hi, Is there anyway burn can handle installing/uninstalling exe/msi packages 
which are not part of the chain. In other words these msi/exe packages will be 
added later at runtime.

Currently, I have bunch of MSIs I run part of my burn chain, but the 
requirement is that burn should be able to pick additional MSIs added to media 
at later point in time.

Thanks
Gowri
--
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration Continuously Automate 
Build, Test  Deployment Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration Continuously Automate 
Build, Test  Deployment Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test  Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Adding msi/exe packages outside the burn chain

2014-04-11 Thread gowri.malasani
Got it. Thank you Rob.

-Original Message-
From: Rob Mensching [mailto:r...@firegiant.com] 
Sent: Friday, April 11, 2014 10:38 AM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] Adding msi/exe packages outside the burn chain

Is there a way to bypass the security features of the Burn engine designed to 
prevent evil people from slipping malware into your Bundle? I certainly hope 
not. If you find such a bug, please do let us know.

___
 FireGiant  |  Dedicated support for the WiX toolset  |  
http://www.firegiant.com/

-Original Message-
From: gowri.malas...@non.agilent.com [mailto:gowri.malas...@non.agilent.com]
Sent: Friday, April 11, 2014 10:26 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Adding msi/exe packages outside the burn chain

Thanks Rob. Is there a work around to achieve this?

-Original Message-
From: Rob Mensching [mailto:r...@firegiant.com]
Sent: Thursday, April 10, 2014 11:34 PM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] Adding msi/exe packages outside the burn chain

No. Burn provides a very strong security statement for the contained packages. 
If you add packages, you'll want to update the bundle to include them in the 
chain or include the additional packages in a related bundle and launch them in 
succession.

___
 FireGiant  |  Dedicated support for the WiX toolset  |  
http://www.firegiant.com/

-Original Message-
From: gowri.malas...@non.agilent.com [mailto:gowri.malas...@non.agilent.com]
Sent: Thursday, April 10, 2014 4:04 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Adding msi/exe packages outside the burn chain

Hi, Is there anyway burn can handle installing/uninstalling exe/msi packages 
which are not part of the chain. In other words these msi/exe packages will be 
added later at runtime.

Currently, I have bunch of MSIs I run part of my burn chain, but the 
requirement is that burn should be able to pick additional MSIs added to media 
at later point in time.

Thanks
Gowri
--
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration Continuously Automate 
Build, Test  Deployment Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration Continuously Automate 
Build, Test  Deployment Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration Continuously Automate 
Build, Test  Deployment Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration Continuously Automate 
Build, Test  Deployment Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test  Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Adding msi/exe packages outside the burn chain

2014-04-10 Thread gowri.malasani
Hi, Is there anyway burn can handle installing/uninstalling exe/msi packages 
which are not part of the chain. In other words these msi/exe packages will be 
added later at runtime.

Currently, I have bunch of MSIs I run part of my burn chain, but the 
requirement is that burn should be able to pick additional MSIs added to media 
at later point in time.

Thanks
Gowri
--
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test  Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Debugging Managed Bootstrapper Application

2014-03-24 Thread gowri.malasani
Hello, how to debug MBA written in C#?

I tried this 
(http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-debug-Managed-BA-Burn-td6630791.html)
 of course without steps 1  2 as I didn't want to debug engine. But no luck. I 
just launches the program but it never steps into my code. Also this one 
http://stackoverflow.com/questions/11001980/how-to-debug-custom-bootstrap-application

Any help/pointers greatly appreciated.

Thanks
Reddy


--
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


[WiX-users] Launching external executable

2014-03-24 Thread gowri.malasani
Hi, I have a managed BA that tries to launch few external executables on 
package complete event. My problem is that it works only with UAC turned off!! 
How can I make it work with UAC on? What is causing it to fail with UAC? 
Basically those executables writes some information to registry, copies files 
in to Program Files as well as system folders.

Appreciate your help
Thanks
Reddy
--
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