Re: [WiX-users] question: how to build localized (japanese) msi from wix

2012-01-06 Thread Ian Williams
I think you meant
"ja-jp"

http://msdn.microsoft.com/en-us/goglobal/bb896001.aspx

:-)

-Original Message-
From: Nan Zang [mailto:naz...@microsoft.com] 
Sent: Thursday, January 05, 2012 5:40 PM
To: General discussion for Windows Installer XML toolset. 
(wix-users@lists.sourceforge.net)
Subject: [WiX-users] question: how to build localized (japanese) msi from wix

HI,

I have a simple msi only use wixui_installdir dialog set. I need to build a 
Japanese version of the msi.

When I specify the -cultures JP-JP parameter when running light.exe, I got 
hundreds of error complaining $(Loc.X) is not defined. Where can I find the 
Japanese strings for the standard dialog and error, how can I use them?

A sample error I got

e:\test 
\1>c:\delivery\dev\wix35\src\ext\uiextension\wixlib\errorprogresstext.wxs(241) 
: error LGHT0102: The localization variable !(loc.Error1937) is unknown.  
Please ensure the variable is defined. [e:\test\test.wixproj]
e:\test\1>e:\test\localizablelicenseagreementdialog.wxs(25) : error LGHT0102: 
The localization variable !(loc.WixUIBack) is unknown.  Please ensure the 
variable is defined.  [e:\test\test.wixproj]

Many thanks in advance,

Nan
--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex 
infrastructure or vast IT resources to deliver seamless, secure access to 
virtual desktops. With this all-in-one solution, easily deploy virtual desktops 
for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it 
free! http://p.sf.net/sfu/Citrix-VDIinabox
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users






--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Assembiles FROM the GAC

2012-01-06 Thread Daniel Sniderman
I'm just started digging into WIX this week - sorry if this is answered before 
- but searching hasn't been successful.  This is part of a migration from 
Visual Studio Setup Projects to WIX.

I used dark to reverse engineer the MSI - and there are several assemblies that 
the Setup Project Identified as dependencies of DLL's we use - that are in the 
GAC on the developers machines.

These are SQL Server related DLL's - so I can't assume they will be on the GAC 
of the target machine - and I'd like to simply continue to include them as 
files in the MSI - i.e. I don't want to GAC them on the target machine.

The simplest solution I can think of is to add them as References on one of my 
Projects with Copy Local as true - and then pull it from the TargetDir.  Is 
there a "better" way?

Thanks!

Daniel P. Sniderman| Sr Consultant| Magenic
MCSD.NET, MCTS: Team Foundation Server 2010 Administration

333 E. Butterfield Rd. Suite 100, Lombard, IL 60148
Mobile: 847-668-4882  | eFax 847-390-7810
magenic.com | dani...@magenic.com


--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Accessing file in MSI before it's installed

2012-01-06 Thread Kevin Hebert
Bill, I'm trying to use the functions that you provided, and I'm just 
curious as to where the ExitOnFailure logs are saved?  I've placed my 
own logs around the function, and I know it's failing somewhere in 
there.  Thanks.

On 1/3/2012 4:28 PM, Bill Tutt wrote:
> On Tue, Jan 3, 2012 at 5:26 PM, Bill Tutt  wrote:
>
>> Something like this:
>>
>>   // Extract files to temp directory.
>>   hr = PathCreateTempDirectory(NULL, L"HRCAAxeda%03x", 999,&pwszTempDir);
>>   ExitOnFailure(hr, "Failed to load create temp directory for DLL
>> extraction.");
>>   extractedFiles = true;
>>   hr = ExtractFileToDir(&pwszCustomActionData, pwszTempDir);
>>   ExitOnFailure(hr, "Failed to extract file from CA");
>>   hr = ExtractFileToDir(&pwszCustomActionData, pwszTempDir);
>>   ExitOnFailure(hr, "Failed to extract file from CA");
>>   hr = ExtractFileToDir(&pwszCustomActionData, pwszTempDir);
>>   ExitOnFailure(hr, "Failed to extract file from CA");
>>   
>>
>>
>>
> This should be:
> 
> 
>
>
>>
>> LExit:
>>   if (extractedFiles)
>>   {
>>
>> There should be a "" here.
>>DirEnsureDeleteEx(pwszTempDir, DIR_DELETE_FILES | DIR_DELETE_RECURSE |
>> DIR_DELETE_SCHEDULE);
>>WcaLog(LOGMSG_VERBOSE, "Removed extracted files from '%ls': ",
>> pwszTempDir);
>>   }
>>   
>>
>>
>>
> Bill
> --
> Write once. Port to many.
> Get the SDK and tools to simplify cross-platform app development. Create
> new or port existing apps to sell to consumers worldwide. Explore the
> Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
> http://p.sf.net/sfu/intel-appdev
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>


-- 
Kevin Hebert


--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Querying the package andinstalled productarchitecture

2012-01-06 Thread Christopher Painter
Here's the equivilant C# code for anyone interested:  ( using 
Microsoft.Deployment.WindowsInstaller )


ProductInstallation productInstallation = 
ProductInstallation.GetRelatedProducts("{9B70A6F1-4A3E-4955-8C34-2D354042B87
E}").First();

string template = new SummaryInfo(productInstallation.LocalPackage, 
false).Template;



From: "Wilson, Phil" 

Sent: Friday, January 06, 2012 12:49 PM

To: "General discussion for Windows Installer XML toolset." 


Subject: Re: [WiX-users] Querying the package andinstalled 
productarchitecture


No real error checking,just stuck together code using VS 2010 UpgradeCode 
as a test: 


#include 


WCHAR pbuf [40] = {0}; 

UINT eres = MsiEnumRelatedProducts 
(L"{776922EE-1E34-36CE-A15B-82BB65DC183E}", 0, 0, pbuf); 

WCHAR localpath [MAX_PATH+1] = {0}; 

DWORD plen = MAX_PATH;

eres = MsiGetProductInfo (pbuf, INSTALLPROPERTY_LOCALPACKAGE, localpath, 
&plen); 

PMSIHANDLE hsum;

INT naught=0;

WCHAR buf [100] = {0}; 

DWORD len = 100; 

UINT type=0;

UINT res = MsiGetSummaryInformation (0, localpath, 0, &hsum); 

if (ERROR_SUCCESS == res)

{


res = MsiSummaryInfoGetProperty (hsum, 7, &type, &naught, NULL, buf, 
&len);

}


-Original Message-

From: Alex Ivanoff [mailto:aivan...@vmware.com] 

Sent: Friday, January 06, 2012 10:29 AM

To: chr...@iswix.com; 'General discussion for Windows Installer XML 
toolset.'

Subject: Re: [WiX-users] Querying the package andinstalled 
productarchitecture


Native C++.


-Original Message-

From: Christopher Painter [mailto:chr...@iswix.com]

Sent: Friday, January 06, 2012 11:23

To: General discussion for Windows Installer XML toolset.; General 

discussion for Windows Installer XML toolset.

Subject: Re: [WiX-users] Querying the package andinstalled 

productarchitecture


There are methods on the automation objects that you can call to resolve a 


product code that machines and upgrade code then get the file path to the 

cached MSI for that product code and then open the database to get access 
to 

the summary information stream and then access the template summary 

property.


I'd give you samples but I'm not sure if you are using C++, VBScript or 
C#.





From: "Alex Ivanoff" 


Sent: Friday, January 06, 2012 9:46 AM


To: "General discussion for Windows Installer XML toolset."




Subject: Re: [WiX-users] Querying the package andinstalled 

productarchitecture


I am sorry, I should have been more explicit in the question: given the


installed product upgrade code how do I find that product architecture?


-Original Message-


From: Wilson, Phil [mailto:phil.wil...@invensys.com]


Sent: Thursday, January 05, 2012 18:58


To: General discussion for Windows Installer XML toolset.


Subject: Re: [WiX-users] Querying the package andinstalled


productarchitecture


If it's working ok you should get a result something like "Intel64;1033"or


"Intel;1033"that tells you that.


Phil W.


-Original Message-


From: Alex Ivanoff [mailto:aivan...@vmware.com]


Sent: Thursday, January 05, 2012 10:30 AM


To: 'General discussion for Windows Installer XML toolset.'


Subject: Re: [WiX-users] Querying the package andinstalled


productarchitecture


I think I figured out how to get package architecture throw Template


property of SummaryInfo, but I still cannot find a way to get installed


product architecture.


> There are tools in the Windows SDK (I am currently using v7) that can


> query an MSI database. Look especially at the vbs scripts, you can


> invoke them with SQL to query properties and tables.


>


>


http://msdn.microsoft.com/en-us/library/windows/desktop/aa372865(v=vs.85).as



px


>


> Gary


>


> > -Original Message-


> > From: Alex Ivanoff [mailto:aivan...@vmware.com]


> > Sent: Friday, December 30, 2011 11:19 AM


> > To: 'General discussion for Windows Installer XML toolset.'


> > Subject: Re: [WiX-users] Querying the package and installed


> > productarchitecture


> >


> > I need to be able to do it programmatically.


>


> > -Original Message-


> > From: McCain, Jon [mailto:jon.mcc...@inin.com]


> > Sent: Friday, December 30, 2011 07:31


> > To: General discussion for Windows Installer XML toolset.


> > Cc: McCain, Jon


> > Subject: Re: [WiX-users] Querying the package and installed product


> > architecture


>


> > 1. Open the install in Orca


> > 2. Click View -> Summary Information 3. The architecture type is


> > listed under Platform.


>


> > Jon


>


> > -Original Message-


> > From: Alex Ivanoff [mailto:aivan...@vmware.com]


> > Sent: Thursday, December 29, 2011 6:17 PM


> > To: 'General discussion for Windows Installer XML toolset.'


> > Subject: [WiX-users] Querying the package and installed product


> > architecture


> >


> > Is there a way to query the MSI package and/or installed product


> > architecture (x86 vs. x64)?


-

Re: [WiX-users] MSI not elevating properly

2012-01-06 Thread Scharp, Craig
Thank you Alberto!

Also thanks to Jon Torresdal for putting instructions on his blog page:
http://blog.torresdal.net/CommentView,guid,001283D1-5C8E-4B16-B369-7008675E2E72.aspx

Using Jon's instructions, I successfully added a manifest and elevation occurs 
first.  The only downside is I now have a setup exe instead of MSI, but I think 
that's the same with any bootstrapper.


-Original Message-
From: Carlos Alberto Costa Beppler [mailto:bepp...@gmail.com] 
Sent: Thursday, January 05, 2012 4:49 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] MSI not elevating properly

The only way I know is using a bootstrapper that requires elevation.
Em 05/01/2012 18:47, "Scharp, Craig"  escreveu:

> Hi Bob,
>
> Thanks for the quick response!
>
> For clarification, one of our MSI dialogs has a dropdown of websites so
> the user can choose which website to upgrade.  To populate that dropdown, I
> use either 'IIS://localhost/W3SVC' in vbscript or ServerManager object in
> C# immediate Ca's.  As far as I know, both methods require administrator
> privileges.  Unless there is a way to get a list of sites without
> administrator privileges?
>
> Currently our clients that have UAC enabled, have to run command prompt as
> administrator and navigate to the MSI using DOS commands.  We would prefer
> to have them run the MSI as administrator using right-click option, or
> force elevation prior to loading this dropdown, but so far I have been
> unable to accomplish this.
>
> Does anyone know of a solution to this?
>
> Thanks, Craig
>
>
> -Original Message-
> From: Bob Arnson [mailto:b...@joyofsetup.com]
> Sent: Wednesday, January 04, 2012 5:59 PM
> To: wix-users@lists.sourceforge.net
> Subject: Re: [WiX-users] MSI not elevating properly
>
> On 04-Jan-12 10:30, Scharp, Craig wrote:
> > I have a MSI with several dialogs including a choice of features.  It is
> elevating privileges correctly (showing the UAC Popup) for my deferred
> actions, but I can't seem to get it to popup before the welcome dialog.
> MSI doesn't support elevated UI or immediate custom actions.
>
> --
> sig://boB
> http://joyofsetup.com/
>
>
>
> --
> Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
> infrastructure or vast IT resources to deliver seamless, secure access to
> virtual desktops. With this all-in-one solution, easily deploy virtual
> desktops for less than the cost of PCs and save 60% on VDI infrastructure
> costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
> --
> Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
> infrastructure or vast IT resources to deliver seamless, secure access to
> virtual desktops. With this all-in-one solution, easily deploy virtual
> desktops for less than the cost of PCs and save 60% on VDI infrastructure
> costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] question: how to build localized (japanese) msi from wix

2012-01-06 Thread Nan Zang
My problem is solved.

I found I used a wrong cultureid (jp-jp) but not ja-jp, also with adding the 
codepage=932 definition in wixlocalization, it built correctly.

Thanks for your time,
Nan

From: Nan Zang
Sent: Thursday, January 05, 2012 5:40 PM
To: General discussion for Windows Installer XML toolset. 
(wix-users@lists.sourceforge.net)
Cc: Nan Zang
Subject: question: how to build localized (japanese) msi from wix

HI,

I have a simple msi only use wixui_installdir dialog set. I need to build a 
Japanese version of the msi.

When I specify the -cultures JP-JP parameter when running light.exe, I got 
hundreds of error complaining $(Loc.X) is not defined. Where can I find the 
Japanese strings for the standard dialog and error, how can I use them?

A sample error I got

e:\test 
\1>c:\delivery\dev\wix35\src\ext\uiextension\wixlib\errorprogresstext.wxs(241) 
: error LGHT0102: The localization variable !(loc.Error1937) is unknown.  
Please ensure the variable is defined. [e:\test\test.wixproj]
e:\test\1>e:\test\localizablelicenseagreementdialog.wxs(25) : error LGHT0102: 
The localization variable !(loc.WixUIBack) is unknown.  Please ensure the 
variable is defined.  [e:\test\test.wixproj]

Many thanks in advance,

Nan
--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Querying the package andinstalled productarchitecture

2012-01-06 Thread Wilson, Phil
No real error checking,just stuck together code using VS 2010 UpgradeCode as a 
test: 

#include 

WCHAR pbuf [40] = {0}; 
UINT eres = MsiEnumRelatedProducts 
(L"{776922EE-1E34-36CE-A15B-82BB65DC183E}", 0, 0, pbuf); 
WCHAR localpath [MAX_PATH+1] = {0}; 
DWORD plen = MAX_PATH;
eres = MsiGetProductInfo (pbuf, INSTALLPROPERTY_LOCALPACKAGE, 
localpath, &plen); 
PMSIHANDLE hsum;
INT naught=0;
WCHAR buf [100] = {0}; 
DWORD len = 100; 
UINT type=0;
UINT res = MsiGetSummaryInformation (0, localpath, 0, &hsum); 
if (ERROR_SUCCESS == res)
{

res = MsiSummaryInfoGetProperty (hsum, 7, &type, &naught, NULL, 
buf, &len);
}


-Original Message-
From: Alex Ivanoff [mailto:aivan...@vmware.com] 
Sent: Friday, January 06, 2012 10:29 AM
To: chr...@iswix.com; 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] Querying the package andinstalled productarchitecture

Native C++.


-Original Message-
From: Christopher Painter [mailto:chr...@iswix.com]
Sent: Friday, January 06, 2012 11:23
To: General discussion for Windows Installer XML toolset.; General 
discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Querying the package andinstalled 
productarchitecture

There are methods on the automation objects that you can call to resolve a 
product code that machines and upgrade code then get the file path to the 
cached MSI for that product code and then open the database to get access to 
the summary information stream and then access the template summary 
property.


I'd give you samples but I'm not sure if you are using C++, VBScript or C#.



From: "Alex Ivanoff" 

Sent: Friday, January 06, 2012 9:46 AM

To: "General discussion for Windows Installer XML toolset."


Subject: Re: [WiX-users] Querying the package andinstalled 
productarchitecture


I am sorry, I should have been more explicit in the question: given the

installed product upgrade code how do I find that product architecture?


-Original Message-

From: Wilson, Phil [mailto:phil.wil...@invensys.com]

Sent: Thursday, January 05, 2012 18:58

To: General discussion for Windows Installer XML toolset.

Subject: Re: [WiX-users] Querying the package andinstalled

productarchitecture


If it's working ok you should get a result something like "Intel64;1033"or


"Intel;1033"that tells you that.


Phil W.


-Original Message-

From: Alex Ivanoff [mailto:aivan...@vmware.com]

Sent: Thursday, January 05, 2012 10:30 AM

To: 'General discussion for Windows Installer XML toolset.'

Subject: Re: [WiX-users] Querying the package andinstalled

productarchitecture


I think I figured out how to get package architecture throw Template

property of SummaryInfo, but I still cannot find a way to get installed

product architecture.


> There are tools in the Windows SDK (I am currently using v7) that can

> query an MSI database. Look especially at the vbs scripts, you can

> invoke them with SQL to query properties and tables.

>

>

http://msdn.microsoft.com/en-us/library/windows/desktop/aa372865(v=vs.85).as


px

>

> Gary

>

> > -Original Message-

> > From: Alex Ivanoff [mailto:aivan...@vmware.com]

> > Sent: Friday, December 30, 2011 11:19 AM

> > To: 'General discussion for Windows Installer XML toolset.'

> > Subject: Re: [WiX-users] Querying the package and installed

> > productarchitecture

> >

> > I need to be able to do it programmatically.

>

> > -Original Message-

> > From: McCain, Jon [mailto:jon.mcc...@inin.com]

> > Sent: Friday, December 30, 2011 07:31

> > To: General discussion for Windows Installer XML toolset.

> > Cc: McCain, Jon

> > Subject: Re: [WiX-users] Querying the package and installed product

> > architecture

>

> > 1. Open the install in Orca

> > 2. Click View -> Summary Information 3. The architecture type is

> > listed under Platform.

>

> > Jon

>

> > -Original Message-

> > From: Alex Ivanoff [mailto:aivan...@vmware.com]

> > Sent: Thursday, December 29, 2011 6:17 PM

> > To: 'General discussion for Windows Installer XML toolset.'

> > Subject: [WiX-users] Querying the package and installed product

> > architecture

> >

> > Is there a way to query the MSI package and/or installed product

> > architecture (x86 vs. x64)?



--

Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex

infrastructure or vast IT resources to deliver seamless, secure access to

virtual desktops. With this all-in-one solution, easily deploy virtual

desktops for less than the cost of PCs and save 60% on VDI infrastructure

costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox

___

WiX-users mailing list

WiX-users@lists.sourceforge.net

https://lists.sourcefor

Re: [WiX-users] Querying the package andinstalled productarchitecture

2012-01-06 Thread Alex Ivanoff
Native C++.


-Original Message-
From: Christopher Painter [mailto:chr...@iswix.com]
Sent: Friday, January 06, 2012 11:23
To: General discussion for Windows Installer XML toolset.; General 
discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Querying the package andinstalled 
productarchitecture

There are methods on the automation objects that you can call to resolve a 
product code that machines and upgrade code then get the file path to the 
cached MSI for that product code and then open the database to get access to 
the summary information stream and then access the template summary 
property.


I'd give you samples but I'm not sure if you are using C++, VBScript or C#.



From: "Alex Ivanoff" 

Sent: Friday, January 06, 2012 9:46 AM

To: "General discussion for Windows Installer XML toolset."


Subject: Re: [WiX-users] Querying the package andinstalled 
productarchitecture


I am sorry, I should have been more explicit in the question: given the

installed product upgrade code how do I find that product architecture?


-Original Message-

From: Wilson, Phil [mailto:phil.wil...@invensys.com]

Sent: Thursday, January 05, 2012 18:58

To: General discussion for Windows Installer XML toolset.

Subject: Re: [WiX-users] Querying the package andinstalled

productarchitecture


If it's working ok you should get a result something like "Intel64;1033"or


"Intel;1033"that tells you that.


Phil W.


-Original Message-

From: Alex Ivanoff [mailto:aivan...@vmware.com]

Sent: Thursday, January 05, 2012 10:30 AM

To: 'General discussion for Windows Installer XML toolset.'

Subject: Re: [WiX-users] Querying the package andinstalled

productarchitecture


I think I figured out how to get package architecture throw Template

property of SummaryInfo, but I still cannot find a way to get installed

product architecture.


> There are tools in the Windows SDK (I am currently using v7) that can

> query an MSI database. Look especially at the vbs scripts, you can

> invoke them with SQL to query properties and tables.

>

>

http://msdn.microsoft.com/en-us/library/windows/desktop/aa372865(v=vs.85).as


px

>

> Gary

>

> > -Original Message-

> > From: Alex Ivanoff [mailto:aivan...@vmware.com]

> > Sent: Friday, December 30, 2011 11:19 AM

> > To: 'General discussion for Windows Installer XML toolset.'

> > Subject: Re: [WiX-users] Querying the package and installed

> > productarchitecture

> >

> > I need to be able to do it programmatically.

>

> > -Original Message-

> > From: McCain, Jon [mailto:jon.mcc...@inin.com]

> > Sent: Friday, December 30, 2011 07:31

> > To: General discussion for Windows Installer XML toolset.

> > Cc: McCain, Jon

> > Subject: Re: [WiX-users] Querying the package and installed product

> > architecture

>

> > 1. Open the install in Orca

> > 2. Click View -> Summary Information 3. The architecture type is

> > listed under Platform.

>

> > Jon

>

> > -Original Message-

> > From: Alex Ivanoff [mailto:aivan...@vmware.com]

> > Sent: Thursday, December 29, 2011 6:17 PM

> > To: 'General discussion for Windows Installer XML toolset.'

> > Subject: [WiX-users] Querying the package and installed product

> > architecture

> >

> > Is there a way to query the MSI package and/or installed product

> > architecture (x86 vs. x64)?



--

Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex

infrastructure or vast IT resources to deliver seamless, secure access to

virtual desktops. With this all-in-one solution, easily deploy virtual

desktops for less than the cost of PCs and save 60% on VDI infrastructure

costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox

___

WiX-users mailing list

WiX-users@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/wix-users



--

Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex

infrastructure or vast IT resources to deliver seamless, secure access to

virtual desktops. With this all-in-one solution, easily deploy virtual

desktops for less than the cost of PCs and save 60% on VDI infrastructure

costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox

___

WiX-users mailing list

WiX-users@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/wix-users


*** Confidentiality Notice: This e-mail, including any associated or

attached files, is intended solely for the individual or entity to which it


is addressed. This e-mail is confidential and may well also be legally

privileged. If you have received it in error, you are on notice of its

status. Please notify the sender immediately by reply e-mail and then
delete

this message from 

[WiX-users] Major Upgrade and Install Context Issues

2012-01-06 Thread Steven Arnold
I have a Wix project that I have set to allow major upgrades. I'm using
WixUI_Advanced to allow a choice between per-user  and per-machine
installs. When I install and upgrade per-user everything works as
expected, the installer recognizes an upgrade and there is only one
entry in Programs and Features.  However when I choose a per-machine
install, it starts duplicating entries in Programs and Features (even
when both install and upgrade are per-machine and to the same folder). 

 

Looking at the install log file it seems that FindRelatedProducts is
executing before the user gets a chance to select a per-machine install,
so the installer thinks that the context has changed and won't do an
upgrade. I attempted to suppress FindRelatedProducts in
InstallUISequence but when I do that the installer still skips
FindRelatedProducts in the InstallExecuteSequence.

 

What are my options at this point?  Most of our installs will be
per-machine and I would hate to have multiple entries in Programs and
Features even after the product might be uninstalled.

 

Thanks, 

Steven

 

--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Querying the package andinstalled productarchitecture

2012-01-06 Thread Christopher Painter
There are methods on the automation objects that you can call to resolve a 
product code that machines and upgrade code then get the file path to the 
cached MSI for that product code and then open the database to get access 
to the summary information stream and then access the template summary 
property.


I'd give you samples but I'm not sure if you are using C++, VBScript or 
C#.



From: "Alex Ivanoff" 

Sent: Friday, January 06, 2012 9:46 AM

To: "General discussion for Windows Installer XML toolset." 


Subject: Re: [WiX-users] Querying the package andinstalled 
productarchitecture


I am sorry, I should have been more explicit in the question: given the 

installed product upgrade code how do I find that product architecture?


-Original Message-

From: Wilson, Phil [mailto:phil.wil...@invensys.com]

Sent: Thursday, January 05, 2012 18:58

To: General discussion for Windows Installer XML toolset.

Subject: Re: [WiX-users] Querying the package andinstalled 

productarchitecture


If it's working ok you should get a result something like "Intel64;1033"or 


"Intel;1033"that tells you that.


Phil W.


-Original Message-

From: Alex Ivanoff [mailto:aivan...@vmware.com]

Sent: Thursday, January 05, 2012 10:30 AM

To: 'General discussion for Windows Installer XML toolset.'

Subject: Re: [WiX-users] Querying the package andinstalled 

productarchitecture


I think I figured out how to get package architecture throw Template 

property of SummaryInfo, but I still cannot find a way to get installed 

product architecture.


> There are tools in the Windows SDK (I am currently using v7) that can

> query an MSI database. Look especially at the vbs scripts, you can

> invoke them with SQL to query properties and tables.

>

>

http://msdn.microsoft.com/en-us/library/windows/desktop/aa372865(v=vs.85).as


px

>

> Gary

>

> > -Original Message-

> > From: Alex Ivanoff [mailto:aivan...@vmware.com]

> > Sent: Friday, December 30, 2011 11:19 AM

> > To: 'General discussion for Windows Installer XML toolset.'

> > Subject: Re: [WiX-users] Querying the package and installed

> > productarchitecture

> >

> > I need to be able to do it programmatically.

>

> > -Original Message-

> > From: McCain, Jon [mailto:jon.mcc...@inin.com]

> > Sent: Friday, December 30, 2011 07:31

> > To: General discussion for Windows Installer XML toolset.

> > Cc: McCain, Jon

> > Subject: Re: [WiX-users] Querying the package and installed product

> > architecture

>

> > 1. Open the install in Orca

> > 2. Click View -> Summary Information 3. The architecture type is

> > listed under Platform.

>

> > Jon

>

> > -Original Message-

> > From: Alex Ivanoff [mailto:aivan...@vmware.com]

> > Sent: Thursday, December 29, 2011 6:17 PM

> > To: 'General discussion for Windows Installer XML toolset.'

> > Subject: [WiX-users] Querying the package and installed product

> > architecture

> >

> > Is there a way to query the MSI package and/or installed product

> > architecture (x86 vs. x64)?



--

Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex 

infrastructure or vast IT resources to deliver seamless, secure access to 

virtual desktops. With this all-in-one solution, easily deploy virtual 

desktops for less than the cost of PCs and save 60% on VDI infrastructure 

costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox

___

WiX-users mailing list

WiX-users@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/wix-users



--

Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex 

infrastructure or vast IT resources to deliver seamless, secure access to 

virtual desktops. With this all-in-one solution, easily deploy virtual 

desktops for less than the cost of PCs and save 60% on VDI infrastructure 

costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox

___

WiX-users mailing list

WiX-users@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/wix-users


*** Confidentiality Notice: This e-mail, including any associated or 

attached files, is intended solely for the individual or entity to which it 


is addressed. This e-mail is confidential and may well also be legally 

privileged. If you have received it in error, you are on notice of its 

status. Please notify the sender immediately by reply e-mail and then 
delete 

this message from your system. Please do not copy it or use it for any 

purposes, or disclose its contents to any other person. This email comes 

from a division of the Invensys Group, owned by Invensys plc, which is a 

company registered in England and Wales with its registered office at 3rd 

Floor, 40 Grosvenor Pl

[WiX-users] APPCRASH cancleing install in vi burn UI

2012-01-06 Thread Michael_A
I'm re-posting this as I never got an answer.

Canceling Installing burn generated install results in the following. If
additional information is needed please let me know as I can reproduce this
at ANY time.

Faulting application name: BootStrapper.exe, version: 1.0.0.0, time stamp:
0x4ea1ab8c
Faulting module name: wixstdba.dll, version: 3.6.2221.0, time stamp:
0x4ea1aeb1
Exception code: 0xc005
Fault offset: 0x00012a9b
Faulting process id: 0x72c
Faulting application start time: 0x019195389ea5
Faulting application path: \\Dev_tt-01\c\Builds\1234\BootStrapper.exe
Faulting module path:
C:\Users\std_user\AppData\Local\Temp\{38fa7123-9621-4c8c-8920-7d3971a3e9cd}\.ba1\wixstdba.dll
Report Id: e1b04bcf-3884-11e1-a168-000c29364574

Fault bucket , type 0
Event Name: APPCRASH
Response: Not available
Cab Id: 0

Problem signature:
P1: BootStrapperr.exe
P2: 1.0.0.0
P3: 4ea1ab8c
P4: wixstdba.dll
P5: 3.6.2221.0
P6: 4ea1aeb1
P7: c005
P8: 00012a9b
P9: 
P10: 

Attached files:

These files may be available here:
C:\Users\std_user\AppData\Local\Microsoft\Windows\WER\ReportArchive\AppCrash_BootStrapper_32cfc73515b9b83dde85dda819cf8cddcf4255b_0a115913

Analysis symbol: 
Rechecking for solution: 0
Report Id: e1b04bcf-3884-11e1-a168-000c29364574
Report Status: 0


-Michael Clark
clark_mich...@live.com

--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/APPCRASH-cancleing-install-in-vi-burn-UI-tp7159047p7159047.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Querying the package andinstalled productarchitecture

2012-01-06 Thread Alex Ivanoff
I am sorry, I should have been more explicit in the question: given the 
installed product upgrade code how do I find that product architecture?


-Original Message-
From: Wilson, Phil [mailto:phil.wil...@invensys.com]
Sent: Thursday, January 05, 2012 18:58
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Querying the package andinstalled 
productarchitecture

If it's working ok you should get a result something like "Intel64;1033"or 
"Intel;1033"that tells you that.

Phil W.

-Original Message-
From: Alex Ivanoff [mailto:aivan...@vmware.com]
Sent: Thursday, January 05, 2012 10:30 AM
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] Querying the package andinstalled 
productarchitecture

I think I figured out how to get package architecture throw Template 
property of SummaryInfo, but I still cannot find a way to get installed 
product architecture.


> There are tools in the Windows SDK (I am currently using v7) that can
> query an MSI database. Look especially at the vbs scripts, you can
> invoke them with SQL to query properties and tables.
>
>
http://msdn.microsoft.com/en-us/library/windows/desktop/aa372865(v=vs.85).as
px
>
> Gary
>
> > -Original Message-
> > From: Alex Ivanoff [mailto:aivan...@vmware.com]
> > Sent: Friday, December 30, 2011 11:19 AM
> > To: 'General discussion for Windows Installer XML toolset.'
> > Subject: Re: [WiX-users] Querying the package and installed
> > productarchitecture
> >
> > I need to be able to do it programmatically.
>
> > -Original Message-
> > From: McCain, Jon [mailto:jon.mcc...@inin.com]
> > Sent: Friday, December 30, 2011 07:31
> > To: General discussion for Windows Installer XML toolset.
> > Cc: McCain, Jon
> > Subject: Re: [WiX-users] Querying the package and installed product
> > architecture
>
> > 1. Open the install in Orca
> > 2. Click View -> Summary Information 3. The architecture type is
> > listed under Platform.
>
> > Jon
>
> > -Original Message-
> > From: Alex Ivanoff [mailto:aivan...@vmware.com]
> > Sent: Thursday, December 29, 2011 6:17 PM
> > To: 'General discussion for Windows Installer XML toolset.'
> > Subject: [WiX-users] Querying the package and installed product
> > architecture
> >
> > Is there a way to query the MSI package and/or installed product
> > architecture (x86 vs. x64)?



--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex 
infrastructure or vast IT resources to deliver seamless, secure access to 
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex 
infrastructure or vast IT resources to deliver seamless, secure access to 
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


*** Confidentiality Notice: This e-mail, including any associated or 
attached files, is intended solely for the individual or entity to which it 
is addressed. This e-mail is confidential and may well also be legally 
privileged. If you have received it in error, you are on notice of its 
status. Please notify the sender immediately by reply e-mail and then delete 
this message from your system. Please do not copy it or use it for any 
purposes, or disclose its contents to any other person. This email comes 
from a division of the Invensys Group, owned by Invensys plc, which is a 
company registered in England and Wales with its registered office at 3rd 
Floor, 40 Grosvenor Place, London, SW1X 7AW (Registered number 166023). For 
a list of European legal entities within the Invensys Group, please go to 
http://www.invensys.com/en/legal/default.aspx.

You may contact Invensys plc on +44 (0)20 3155 1200 or e-mail 
recept...@invensys.com. This e-mail and any attachments thereto may be 
subject to the terms of any agreements between Invensys (and/or its 
subsidiaries and affiliates) and the recipient (and/or its subsidiaries and 
affiliates).



--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex 
infrastructure or vast IT resources to deliver seamless, secure access to 
virtual desktops. With thi

[WiX-users] Burn: check for MSI existence and validity

2012-01-06 Thread Kryschan
Hi,

We created several bootstrapper projects, which include some MSI packages
with option Compressed='no'. As a result the MSIs have to be:
1) available on the file system at the right location (relative to the
bootstrapper) and 
2) available in the right version (which means it has to be exactly the same
file which was used when the bootstrapper was built). 
Otherwise the bootstrapper fails to install.

Is there a possibility to check those prerequisites from the managed
bootstrapper UX library? 
1) For checking the existence of the MSIs one would need the expected
location of the packages relative to the bootstrapper. But in events like
BootstrapperApplication.DetectPackageComplete there is no such information.
2) Here it would be useful to know what burn does to check if the MSI file
is the one which was used during build. Is it a CRC check?

Best regards
Kryschan

--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Burn-check-for-MSI-existence-and-validity-tp7158657p7158657.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users