[WiX-users] Using setup.exe as a bootstrapper for commercial application installers

2009-05-08 Thread Jarkko Mönkkönen
Hi! 1. Is it ok to make installer for commercial application by using setupbld to create .exe installer that actually is using the Windows Installer XML v3\bin\setup.exe as the bootstrapper? The resulting exe file will naturally have Microsoft's copyrights in file properties. E.g. Company="Micros

Re: [WiX-users] How to use my own unistall exe instead of default uninstall execution

2009-05-08 Thread zett42
Define ARPSYSTEMCOMPONENT and create your own uninstall registry key. There you can set the path to your EXE that will be called by Windows for uninstall. There are some issues with patches though: http://blogs.msdn.com/heaths/archive/2005/08/05/the-dangers-of-arpsystemcomponent.aspx ron cooper

[WiX-users] Candle - how to output .wixobj files with same directory structure as the .wxs files?

2009-05-08 Thread zett42
I have a directory structure for my source files like this: main.wxs subProduct\main.wxs When compiling, the created .wixobj files overwrite each other, because candle puts all files into the same directory. My current workaround is to call candle once for each sub directory and specify a differe

Re: [WiX-users] Candle - how to output .wixobj files with same directory structure as the .wxs files?

2009-05-08 Thread Rob Mensching
What does cl.exe do in this case? zett42 wrote: > I have a directory structure for my source files like this: > main.wxs > subProduct\main.wxs > > When compiling, the created .wixobj files overwrite each other, because > candle puts all files into the same directory. > My current workaround is to

Re: [WiX-users] wix uninstall dialog

2009-05-08 Thread Bob Arnson
Michael Urman wrote: > I don't think it would be as bad as your claim suggests. If for > example a modeless dialog called MsiBasicSetupProgress were used when That would break an explicit MSI contract: That a basic UI is modeless. MSI already has the reduced UI level which seems about what you're

Re: [WiX-users] Using setup.exe as a bootstrapper for commercial application installers

2009-05-08 Thread Bob Arnson
Jarkko Mönkkönen wrote: > 1. Is it ok to make installer for commercial application by using setupbld > You should get licensing advice from your attorneys. WiX is distributed under the CPL: http://wix.cvs.sourceforge.net/viewvc/wix/wix/CPL.TXT?revision=1.1.1.1&view=markup. -- sig://boB h

[WiX-users] INSTALLSTATE_BROKEN within custom action

2009-05-08 Thread John Daintree
Hello all, I have a custom action defined as: It needs to modify HKLM and so has Impersonate="no" and Execute="deferred" which is what I understand is neccesary. (I'm running this on Vista under UAC). The custom action uses: MsiGetFeatureState(hInstall,layout->feature,&Installed,&Action);

Re: [WiX-users] Upgrade Install Location Cascade Lookup

2009-05-08 Thread Chris Snider
I am attempting to find the fastest method to find any previous installations and where that installation is. I could use any random registry key, but might as well make dual use of the ARPINSTALLLOCATION. The directory search is extremely slow on large, and full, hard drives and is scheduled

[WiX-users] Weird error with InstallDir UI sequence

2009-05-08 Thread Nathan Stohlmann
I recently started moving my projects to WiX 3.x and started with a project that essentially needed to be rebuilt from the ground up due to some other changes in the product. During my own testing of that project I didn't see any issues but when I released the initial version to our QA group two of

Re: [WiX-users] INSTALLSTATE_BROKEN within custom action

2009-05-08 Thread Rob Mensching
I don't think that API is on the allowed list to be called from a deferred CA. You need to pass data from the immediate mode to the deferred CA using CustomActionData as per the MSI SDK. John Daintree wrote: > Hello all, > > I have a custom action defined as: > > Execute="deferred" BinaryKey="i

Re: [WiX-users] MSI Factory

2009-05-08 Thread Madden, William
James, I am not a fan of the output of most of the third party tools we evaluated for WiX 3.0 development. However since it sounds like you don't have Visual Studio you may want to look at SharpDevelop (http://www.icsharpcode.net/OpenSource/SD/). Their setup projects are wix v3. Some of ou

[WiX-users] Closing MSIHANDLE question

2009-05-08 Thread DONG LEE
Hi, I am trying to determine if I need to close both of the handles in the following scenario. void func(MSIHANDLE hArgRecord) { ... } int main() { ... MSIHANDLE hRecord = MsiCreateRecord(n); .. func(hRecord); ... } Here, do I need to do MsiCloseHandle on both hRecord and hArgRecord? It seems t

Re: [WiX-users] MSI Factory

2009-05-08 Thread MacDiarmid, James D
Bill, Thanks for the suggestion on SharpDevelop. I'll give that a shot now. I'm in the process of evaluating WixAware as well as MSI Factory. We are a Classic ASP shop and there is no Visual Studio in sight at this point. Also, we are pressed for time and do to rules beyond our control, we

Re: [WiX-users] MSI Factory

2009-05-08 Thread MacDiarmid, James D
Ok.. I got as far as the screenshot and noticed #Dev is for C#, vb.net, etc, which we do none of the above, so that's not going to work for us either. Thanks for the suggestion anyway. -Original Message- From: Madden, William [mailto:william.mad...@sage.com] Sent: Friday, May 08, 2009

Re: [WiX-users] MSI Factory

2009-05-08 Thread Madden, William
You can still use it to build any type of wix setup project, to the best of my knowledge. Bill. -Original Message- From: MacDiarmid, James D [mailto:james.macdiar...@eds.com] Sent: Friday, May 08, 2009 11:41 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [W

Re: [WiX-users] MSI Factory

2009-05-08 Thread Phil Sayers
Wix, Vb.net, c#..etc... are supported by #develop. Just because you don't need to use #develop for its support of the .Net languages does not mean you cannot use it for Wix development. At the end of the day windows installer helps you deploy, update, repair & remove resources on a computer. Wix

Re: [WiX-users] How to conditionally launch per prerequisites

2009-05-08 Thread David Bartmess
How do I disable features? I have the custom action written to set properties for those features that are allowed, but I can't figure out how to disable the features themselves. Thanks! -Original Message- From: David Bartmess [mailto:david.bartm...@wallst.com] Sent: Monday, May 04, 20

Re: [WiX-users] How to conditionally launch per prerequisites

2009-05-08 Thread David Bartmess
Never mind, found it on an old v2.0 help page... This works: -Original Message- From: David Bartmess [mailto:david.bartm...@wallst.com] Sent: Friday, May 08, 2009 1:29 PM To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] How to conditionally launch p

Re: [WiX-users] MSI Factory

2009-05-08 Thread ryebank
MacDiarmid, James D wrote: > > Unfortunately, I don't have the luxury of time to learn it on those > terms and we don't have Visual Studio, so I'm kind of stuck between a > rock and a hard place. > Well ... you don't need to buy Visual Studio at all - I use Wix very successfully with the Visu

[WiX-users] WiX 3.0: Install/Repair/Remove operations and "Installed"/"NOT Installed" properties

2009-05-08 Thread little.forest
We're using WiX version 3.0.4805.0. We have a question: Which property can we use to identify the Install, Repair or Remove operations? I tried "Installed" and "NOT Installed". I thought "NOT Installed" means "fresh installation" operation; "Installed" means either "Repair" or "Remove" operatio

[WiX-users] How to calculate MinVersion

2009-05-08 Thread Jacques Eloff
Hi I'm aware that using MinVersion only inside a File element requires that it's one less than the actual value if one only uses that and don't rely on the language attribute. Let's assume there's a file with a version of 4.5.3.2. If I want to check for a min version of 5.0.0.0, should I set this

Re: [WiX-users] WiX 3.0: Install/Repair/Remove operations and "Installed"/"NOT Installed" properties

2009-05-08 Thread little.forest
Sorry, the email was accidently sent out when I tried to post the link. Okay, I searched and found this solution: http://www.dizzymonkeydesign..com/blog/misc/adding-and-customizing-dlgs-in-wix-3/ In this post, the author proposed to put the checkbox on the bottom the page to make it align with ot

Re: [WiX-users] MSI Factory

2009-05-08 Thread MacDiarmid, James D
Ok.. I have the shell installed but I don't see how to use Wix with it. I tried to install Votive but it said it had to be a full version of VS to install. Gr -Original Message- From: ryebank [mailto:ja...@ryebank.co.uk] Sent: Friday, May 08, 2009 4:07 PM To: wix-users@lists

Re: [WiX-users] Closing MSIHANDLE question

2009-05-08 Thread Rob Mensching
Right. DONG LEE wrote: > Hi, > > I am trying to determine if I need to close both of the handles in the > following scenario. > > void func(MSIHANDLE hArgRecord) > { > ... > } > > int main() > { > ... > MSIHANDLE hRecord = MsiCreateRecord(n); > .. > func(hRecord); > ... > } > > Here, do I need to

Re: [WiX-users] MSI Factory

2009-05-08 Thread ryebank
MacDiarmid, James D wrote: > > > Ok.. I have the shell installed but I don't see how to use Wix with it. > I tried to install Votive but it said it had to be a full version of VS > to install. Gr > > I can't recall hitting that problem - mine is definitely installed OK with Votive

Re: [WiX-users] MSI Factory

2009-05-08 Thread ryebank
MacDiarmid, James D wrote: > > Ok.. I have the shell installed but I don't see how to use Wix with it. > I tried to install Votive but it said it had to be a full version of VS > to install. Gr > Are you sure you got the right package - I have just installed into a test virtual mach

Re: [WiX-users] TabSkip dosn't work

2009-05-08 Thread xubutian
Control_Next for those two button are "Next" (for "Back") and "BannerBitmap" (for "Next"). -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfe

Re: [WiX-users] TabSkip dosn't work

2009-05-08 Thread xubutian
If I set the TabSkip flag in wix, then Control_Next for these two buttons become empty. But at run time, I still can use tab to change focus on all the buttons. -- View this message in context: http://n2.nabble.com/TabSkip-dosn%27t-work-tp2801735p2848427.html Sent from the wix-users mailing lis