Re: [WiX-users] 32bit 64bit

2009-06-05 Thread zhihai guo
Hi. I have resolved this problem. ^^^ Thanks. 2009/6/5 zhihai guo > Hi every one: > > I have create a custom action to restore registry value when uninstall that > is modified on install. > > This is the element of CustomAction: > Value="C:\windows\system32\reg.exe import "[#Itest.reg

[WiX-users] CustomDialog to add before InstallWelcome

2009-06-05 Thread akash bhatia
hi, my requirement here is to check for the pre existence of DOTNET framework before my setup should start install. thant means it should pop a custom messagebox/dialog when dotnet is not installed,before Installwelcome dialog, the same way which we use to do in InstallShield( am a WiX newbie). I

Re: [WiX-users] 32bit 64bit

2009-06-05 Thread Rob Mensching
How does that handle rollback and uninstall? zhihai guo wrote: > Hi. > > I have resolved this problem. > > Value="C:\windows\system32\reg.exe import "[#Itest.reg]" > /reg:64"/> > > ^^^ > > Thanks. > 2009/6/5 zhihai guo > > >> Hi every one: >> >> I have create a custom action to restore r

[WiX-users] How to unzip file

2009-06-05 Thread Rahul.Ekbote
Hi, I have .zip file in my installar. How can I unzip file in current folder in Wix. Is there any custom action available? Thanks, Rahul Ekbote -- OpenSolaris 2009.06 is a cutting edge operating system for ente

Re: [WiX-users] How to unzip file

2009-06-05 Thread Rob Mensching
No. The expectation is that you would list the Files to install in the File table. rahul.ekb...@sungard.com wrote: > Hi, > > I have .zip file in my installar. How can I unzip file in current folder > in Wix. Is there any custom action available? > > > > > > Thanks, > > Rahul Ekbote > > --

Re: [WiX-users] CustomDialog to add before InstallWelcome

2009-06-05 Thread Rob Mensching
LaunchCondition (aka Product/Condition element)? akash bhatia wrote: > hi, > > my requirement here is to check for the pre existence of DOTNET framework > before my setup should start install. > thant means it should pop a custom messagebox/dialog when dotnet is not > installed,before Installwelco

Re: [WiX-users] Files left during Un-install

2009-06-05 Thread Rob Mensching
I don't exactly understand the problem. I use the ServiceInstall and ServiceControl to install services and they are removed on uninstall (if I specified them) along with all the files. Why doesn't that work for you? akash bhatia wrote: > Hi Rob, > > thanks for ur quick reply! > > i have checke

Re: [WiX-users] CustomDialog to add before InstallWelcome

2009-06-05 Thread akash bhatia
Thanks Rob for ur timely reply. i have used SHOW tag as following in UI sequence:- NOT Installed AND DOTNETINSTALLED = "0" and it is working perfectly as expected. :) Thanks Akash On Fri, Jun 5, 2009 at 2:05 PM, Rob Mensching wrote: > LaunchCondition (aka Product/Condition element)? > >

[WiX-users] Need examples For Major, Minor, Build and Revison changes‏

2009-06-05 Thread Uday Kumar
Hi, I am new to WIX and trying to create MSI packages for Major, minor and revison changes for my application. Can someone please provide the examples on this. Also i dont want these versions to be displayed in add/remove programs. Thanks, Uday.

Re: [WiX-users] Bug in Torch?

2009-06-05 Thread Gilad Israeli
Sorry about that. Here it is with the /d option: [C:/sandboxes/vsi/solution/components/integrations/obj/wix/en-us] info.exe MKS_VS_Integration.msi /d String ID size: 2 Code page: 1252 [C:/sandboxes/vsi/solution/components/integrations/obj/wix/en-us] cd .. [C:/sandboxes/vsi/solution/components/int

Re: [WiX-users] problem with upgarde

2009-06-05 Thread gulfam murad
Alex, here is the code I am using to generate my msi. Phil, I already tried PackageCode change and posted, i think you missed that email. anyways, when I change PackageCode to be different for different MSIs. The two MSIs work independently of each other. That i

[WiX-users] Codepage error

2009-06-05 Thread Christopher Karper
error LGHT0311: A string was provided which doesn't match the specified database codepage '1252'. Either set your database codepage to match these characters, or change these characters to ones that exist in the database's codepage. How do I find the non compliant string? The error points to the

Re: [WiX-users] problem with upgarde

2009-06-05 Thread Alex Shevchuk
Major upgrade requires ProductCode, PackageCode, and ProductVersion to be different in the new version. I don't know if that will make any difference, but because you product has 4 fields in the version number, try to change mailto:gulfam.mu...@gmail.com] Sent: Friday, June 05, 2009 8:08 AM To: Ge

[WiX-users] Variable not recognized in Fragment

2009-06-05 Thread MacDiarmid, James D
I have the following TypeLib code in a fragment and the "SystemFolder" for helpDirectory during the registration isn't getting recognized. I don't know where to initialize it or put it. Thanks, Jim Jim MacDiarmid EDS, a

Re: [WiX-users] Variable not recognized in Fragment

2009-06-05 Thread Alex Shevchuk
HelpDirectory is a key to Directory table. Do you have a entry for SystemFolder? Alex -Original Message- From: MacDiarmid, James D [mailto:james.macdiar...@eds.com] Sent: Friday, June 05, 2009 8:49 AM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Vari

Re: [WiX-users] Variable not recognized in Fragment

2009-06-05 Thread MacDiarmid, James D
No, but I have one for the Windows Folder. Should I have one for the system folder in the main file or in the fragment? -Original Message- From: Alex Shevchuk [mailto:shevc...@live.com] Sent: Friday, June 05, 2009 12:00 PM To: 'General discussion for Windows Installer XML toolset.' Sub

Re: [WiX-users] Variable not recognized in Fragment

2009-06-05 Thread Alex Shevchuk
Add inside in the main file. You can also add mailto:james.macdiar...@eds.com] Sent: Friday, June 05, 2009 9:53 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Variable not recognized in Fragment No, but I have one for the Windows Folder. Should I have on

Re: [WiX-users] problem with upgarde

2009-06-05 Thread gulfam murad
still no luck. :( On Fri, Jun 5, 2009 at 11:33 AM, Alex Shevchuk wrote: > Major upgrade requires ProductCode, PackageCode, and ProductVersion to be > different in the new version. > I don't know if that will make any difference, but because you product has 4 > fields in the version number, try to

[WiX-users] How to set permissions on a directory

2009-06-05 Thread Lucius Fleuchaus
Hello, I am seeking help for the following scenario: I have a shared WIX file describing the directory layout. This WIX file is included in other WIX files: In a different WIX file I reference the directories via D

Re: [WiX-users] Variable not recognized in Fragment

2009-06-05 Thread MacDiarmid, James D
Cool. Thanks, I'll give that a try. -Original Message- From: Alex Shevchuk [mailto:shevc...@live.com] Sent: Friday, June 05, 2009 1:03 PM To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] Variable not recognized in Fragment Add inside in the main fi

Re: [WiX-users] problem with upgarde

2009-06-05 Thread Wilson, Phil
Something changed, because now you get two ARP entries instead of maintenance mode, so you are getting there. Do the install taking a log and look at all instances of FindRelatedProducts. If there is an ALLUSERS mismatch it will show up there with text that talks about per user/per machine in

Re: [WiX-users] Major upgrade - feature migration

2009-06-05 Thread Shawn Dwyer
I am having a similar problem, where during a major upgrade MigrateFeatureStates is setting features that are not actually already installed to Local. My product has the option to install any of 4 features, with two defaulting to Local each with a must have subfeature.

Re: [WiX-users] WiX 3.0: How to run a program

2009-06-05 Thread little.forest
Hi Rob, Thank you very much for your response. Actually, I did read the Wix.chm and found a topic "How To: Run the Installed Application After Setup". Do you mean this topic? If it's not, then could you please tell me a few key words that I can use to search the topic? For the topic "How To: R

Re: [WiX-users] problem with upgarde

2009-06-05 Thread gulfam murad
Yes it is working now... after changing both PackageCode and ProductCode and also changing the version. with same upgradecode properly referenced in Upgrade element. Thanks alot. Actually what confused me is that the same UI is presented in both cases... i mean even in case of upgrade the same wel

[WiX-users] FileSearch not working.

2009-06-05 Thread David Bartmess
I'm trying to verify that two files exist, using a property with embedded FileSearch. But this doesn't seem to be working. Each time I run it, in the log file it lists it as "0", which is the default property value, from what I've read and how I've got it coded below. Any help would be apprecia

Re: [WiX-users] Preprocessor Questions (Christopher Painter)

2009-06-05 Thread martin lavelle
Hi Chris, You could use Linker Variables in your source paths ( !(wix.Var) Variables ) I've used them this way in the past without problems. The linker still tells you if it can't find a file, etc. The Compiler (Candle.exe) won't allow linker variables everywhere, but they did/do work ok in S

Re: [WiX-users] FileSearch not working.

2009-06-05 Thread Alex Shevchuk
Path attribute has AnyPath type (http://msdn.microsoft.com/en-us/library/aa367562(VS.85).aspx). It is either actual path (or subpath) or it may contain property enclosed in brackets. My guess is that TOOLSDIR is a property containing path where MCT.exe is located. If that assumption is correct,

[WiX-users] Using a WixVariable to specify Product/@Version

2009-06-05 Thread Castro, Edwin G. Castro (Hillsboro)
I would really like to specify Product/@Version using a WixVariable: Candle currently complains because the value does not match the expected format: error CNDL0108: The Product/@Version attribute's value, '!(wix.ProductVersion)', is not a valid version. Legal version values should look like

Re: [WiX-users] Using a WixVariable to specify Product/@Version

2009-06-05 Thread Rob Mensching
Hmm, what version of the WiX toolset are you using. Castro, Edwin G. Castro (Hillsboro) wrote: > I would really like to specify Product/@Version using a WixVariable: > > > > Candle currently complains because the value does not match the expected > format: > > error CNDL0108: The Product/@Versio

Re: [WiX-users] How to set permissions on a directory

2009-06-05 Thread Rob Mensching
Your Directory tree is *not* created until you have a Component that gets installed in there somewhere. In the Component you can have a CreateFolder. And then you arrive at your destination. Bing , you are free to move about the country. Lucius Fleuchaus wrote: > Hello, I a

Re: [WiX-users] Codepage error

2009-06-05 Thread Rob Mensching
The error message should tell you the source line number. What version of the WiX toolset are you using? Is there more to the error message? Christopher Karper wrote: > error LGHT0311: A string was provided which doesn't match the specified > database codepage '1252'. Either set your database cod

Re: [WiX-users] Using a WixVariable to specify Product/@Version

2009-06-05 Thread Rob Mensching
Sorry, I found the issue. Yeah, that's the current design. Seems like a completely reasonable feature request. Rob Mensching wrote: > Hmm, what version of the WiX toolset are you using. > > Castro, Edwin G. Castro (Hillsboro) wrote: > >> I would really like to specify Product/@Version using a

Re: [WiX-users] 32bit 64bit

2009-06-05 Thread zhihai guo
Do this custom atction before RemoveFiles. ... ... 2009/6/5 Rob Mensching > How does that handle rollback and uninstall? > > zhihai guo wrote: > > Hi. > > > > I have resolved this problem. > > > > > Value="C:\windows\system32\reg.exe import "[#Itest.reg]" > > /reg:64"/> > > > > ^^