Re: [WiX-users] BMP and JPEG

2009-08-24 Thread Sebastian Brand (Instyler Software)
Hi Sebastiaan, Windows Installer only supports BMP and JPG, and I remember the built- in reszing method looks horrible too. I also remember JPEGs are shown badly sometimes (like being compressed to 10% or so), so BMP is still the best option. Best regards, Sebastian Brand Instyler Setup -

[WiX-users] check input characters of install path

2009-08-24 Thread sandun css
Hi, I need to check whether the installation path contains characters other than, a-z, A-Z, 0-9, -, _ and space. What I did was this, 1. Removed the standard BrowseDlg and added a new browse dialog. (MyBrowseDlg) 1 1

Re: [WiX-users] Major Upgrade: How to do major upgrade for the currect product and a previous product?

2009-08-24 Thread little.forest
Hi Blair, Thanks for you reply. That's a good point. I'd like to clarify a couple of things: before I made the code change, the upgrade from 3.2 to 3.1 worked. What I'm trying to do is to add one more 'upgrade ability' - that means, besides upgrading 3.1, I'd like to also upgrade 2.1, for insta

Re: [WiX-users] Partial uninstall

2009-08-24 Thread Alexander Shevchuk (Volt)
Hi Greg, >If the product is installed, is it possible to uninstall some, but not all >features? During "Change" install (in Program and Features, former ARP) users can uncheck any of the installed features to uninstall them. If no UI is involved, in command command line provide REMOVE propert

Re: [WiX-users] Partial uninstall

2009-08-24 Thread Christopher Painter
Sure, take a look at the concept of a "change" operation in Add/Remove Programs and the properties ADDLOCAL and REMOVE. An uninstall is REMOVE=ALL but it can also be REMOVE=SOMEFEATURE. Christopher Painter, Author of Deployment Engineering Blog Have a hot tip, know a secret or read a really g

[WiX-users] Partial uninstall

2009-08-24 Thread Greg Silin
Hi, We have several Feature elements (flat feature tree) that comprise one Product element, which build into one MSI. See the rough idea below If the product is installed, is it possible to uninstall some, but not all features? Any pointers on how/if this can be achieved would be great. If t

Re: [WiX-users] Linq to XML and WiX

2009-08-24 Thread Christopher Painter
Paul- Thanks, that does help a lot. I didn't realize the terminology and was thinking it was a declaration due to the similiarity. I did find it as a node and now that I know I can cast it as an XProcessingInstruction object I can more easily get to it's data and target members. Regards, Ch

Re: [WiX-users] Linq to XML and WiX

2009-08-24 Thread Paul Dempsey
A quick Bing of Linq XML Processing Instruction yields http://msdn.microsoft.com/en-us/library/system.xml.linq.xprocessinginstruction.aspx You'll have an XProcessingInstruction object in your doc tree for the (and one for an and one for an and one for an , etc.). hope that helps, --- Paul

Re: [WiX-users] Adding a custom Dialog (Next button not working)

2009-08-24 Thread Nicholas Makin
I figured out another way. I think I was just misunderstanding the tutorial. I thought I could override the Publish actions. Anyway I took the example on the wiki (http://www.wixwiki.com/index.php?title=WixUI_Custom) and plugged in my dialog and everything it working wonderfully. --

Re: [WiX-users] Linq to XML and WiX

2009-08-24 Thread Paul Dempsey
WiX defines are implemented using XML Processing Instructions . I'm not sure that Linq-toXML would get you much against a PI, other than perhaps a string. The meaning of anything inside a PI is entirely up to the XML application (WiX in tis case), so LINQ has no idea that there's a name/variable

[WiX-users] Linq to XML and WiX

2009-08-24 Thread Christopher Painter
I've been learning how to use Linq against WiX source files but one scenario has me stumped. Does anyone have any tips on how to manipulate Wix preprocessor statements? The XDocument.ToString() clearly shows that the statements are loaded in memory and the XDocument.Declaration shows the en

Re: [WiX-users] MSI with both 32-bit and 64-bit components

2009-08-24 Thread Curtis Jewell
The reply didn't get attached - but here it is again... (with one correction, it originally tried to close the DirectoryRef with a /Directory) ... Something like this? You need just one definition for each of your directories. The rest should be refe

Re: [WiX-users] cannot make powershell custom action work on 64-bit windows 2008 R2

2009-08-24 Thread Lian Jiang
There are some posts online about powershell used with CAQuietExec. People reports two potential issues: (1) the installer hangs. (2) there is a command windows popping up. I encountered issue (1). By using my own custom action CallExe which basically is a shell, I do not see either (1) or (2).

[WiX-users] Adding a custom Dialog (Next button not working)

2009-08-24 Thread Nicholas Makin
Hello, I have been trying to add a custom dialog to my setup process and nothing seems to be working. For a little while I could get to my dialog though a back button but in my tinkering trying to get this to work I guess I lost that too. Here is my current attempt:

[WiX-users] WiX talk @ Utah Code Camp: September 19th, 2009

2009-08-24 Thread Richard
See this blog post for details: -- "The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download Legalize Adulthood

Re: [WiX-users] How can I revert to old file and registry value.

2009-08-24 Thread Blair
Need to know some more information. 1) Have either or both MSIs been released yet? 2) Where are you sequencing RemoveExistingProducts? 3) Why aren't you implementing this as MSI & removable MSP? -Original Message- From: bjscf [mailto:song_chang_f...@yahoo.com.cn] Sent: Monday, August 24,

Re: [WiX-users] MSI with both 32-bit and 64-bit components

2009-08-24 Thread Blair
See attached reply sent the same day -Original Message- From: Arvind Aiyar [mailto:arvind.ai...@microsoft.com] Sent: Monday, August 24, 2009 10:47 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] MSI with both 32-bit and 64-bit components Anyone ? -A

Re: [WiX-users] MSI with both 32-bit and 64-bit components

2009-08-24 Thread Arvind Aiyar
Anyone ? -Arvind -Original Message- From: Arvind Aiyar [mailto:arvind.ai...@microsoft.com] Sent: Tuesday, August 18, 2009 1:35 PM To: WiX-users@lists.sourceforge.net Subject: [WiX-users] MSI with both 32-bit and 64-bit components I have to create an MSI (both x86 and x64 flavors) for my

Re: [WiX-users] How to overwrite the old version file when MSI was updated?

2009-08-24 Thread Blair
If the file is a PE file (exe, dll, etc.) and it has a version record (you can see file version information from the Properties sheet when you right-click the file) you make sure the file's name and component's guid are the same between the two MSIs. Windows Installer takes care of the rest. -

Re: [WiX-users] How to stop running an MSI directly instead from Setup

2009-08-24 Thread Blair
Assuming your bootstrapper Setup.exe can pass arbitrary properties to MSI you would create a NOT Installed OR MYINSTALLKEY under your Product element and you pass MYINSTALLKEY=1 from your bootstrapper. If your bootstrapper can't pass arbitrary properties, you need to use a different bootstrapper.

[WiX-users] trouble with preprocessor

2009-08-24 Thread Brant Gurganus
I am using Wix 2.0 and trying to use a snippet like this: It does not seem to be working since an x64 build seems to build with the x86 values. The full source of Installer.wxs can be seen at http://code.google.com/p/openafsclient

Re: [WiX-users] How To Create a shortcut with target variable that expands when selected

2009-08-24 Thread MFranz
Bob, thanks for the reply, however, that is not exactly what I want. I may not have been clear, as I am not sure of the terms to use. I do not want to have the VAR to expand on install. I want it to expand when the user clicks the shortcut. I can manually create a shortcut of "%JAVA_HOME%\

Re: [WiX-users] How to start an executable without showing commandline window

2009-08-24 Thread David Watson
http://n2.nabble.com/How-to-run-exe-in-CA-without-flashing-the-command-l ine-window-td3423431.html#a3424497 -Original Message- From: Neil Sleightholm [mailto:n...@x2systems.com] Sent: 24 August 2009 17:11 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-use

Re: [WiX-users] How to start an executable without showing command line window

2009-08-24 Thread Neil Sleightholm
You can't set the Property element to a formatted value ([APPLICATIONFOLDER] in your case) you either need another custom action to set it or I think you can use SetProperty if you arrange for your CustomAction/@Id value to match. Neil -Original Message- From: Jiang, Chunyan (GE Healthcar

[WiX-users] Database Connection Dialog

2009-08-24 Thread Jacob, Christian
Hi, When using InstallShield, there are a couple of "Standard" dialogs like the one used for letting the user configure a database connection. The dialogs enabled the user to browse for a SQL server as well as for an existing database. If the database does not exist yet, it will be created. Eit

[WiX-users] How to start an executable without showing command line window

2009-08-24 Thread Jiang, Chunyan (GE Healthcare)
Hi Wix-users, I want to call one executable in custom action. But I don't like the command line window flashing when calling executable. So I tried to use CAQuietExec. My code is as below: However, when I run the .msi, the custom action doesn't work. In the installation log file, I found:

[WiX-users] BMP and JPEG

2009-08-24 Thread Sebastiaan Deckers
Hi all, While adding custom graphics using the WixUIBannerBmp and WixUIDialogBmp WixVariable's I noticed that this adds a lot of overhead to the MSI package. Some testing shows that the bitmaps are not compressed. I also found that both BMP and JPEG formats are supported, but not GIF or PNG. I did

[WiX-users] Component condition not works properly

2009-08-24 Thread Dmitry Berkovich
Hi, I am creating simple wix file that contains 2 components and 2 features. .. . As you can see from example I want install Comp2 only if F1 selected, even if F2 selected (Comp2 belong to F2). Joy describe exactly this case in his blo

[WiX-users] How to overwrite the old version file when MSI was updated?

2009-08-24 Thread bjscf
Hi all, I have a msi which installs a file A (version 1.0). Now the msi is updated with file A upgrading to version 2.0. I hope when the new msi is installed on a machine which has installed old msi, the new version file can overwrite the old version file. How can I implement it? Thanks -- Vie

[WiX-users] How to stop running an MSI directly instead from Setup

2009-08-24 Thread Prabhakaran Paulraj
Hi,     I am using wix 2.0 and i am new to this. I am having a MSI Install.msi and a bootstrapper for the Install.msi as Setup.exe. I need to run the MSI only from the bootstrapper Setup.exe. If the user runs the Install.msi directly i should provide a message like 'Please run the Setup.exe Fi

Re: [WiX-users] WiX-users Digest, Vol 39, Issue 42

2009-08-24 Thread Nick Ball
Hi, I've been thinking of trying this, but I have one question before I do. How does uninstall work? I presume you need to handle this in your Windows Forms program? Nick -Original Message- From: Wilson, Phil [mailto:phil.wil...@wonderware.com] Sent: Wednesday, August 12, 2009 9:46 AM T

Re: [WiX-users] Shortcuts do not get removed

2009-08-24 Thread Peter Shirtcliffe
... This is for English XP. Youd have to check that the path to the quick launch is the same on all target operating systems and language versions. There is nothing to stop the user renaming the quick launch shortcut in which case this wouldnt work but

[WiX-users] Shortcuts do not get removed

2009-08-24 Thread sandun css
Hi, I add a start menu item from the msi. I create a quick launch item by right clicking on that start menu item. When I uninstall the msi, the start menu item gets removed. But not the quick launch icon. Is there a way that I can remove it as well? (I don't need to install quick launch from the

Re: [WiX-users] failed to connect to database

2009-08-24 Thread BOURDET Xavier
Hi, I found my problem. This is a syntax error with the property SQLSRVNAME in a fragment. I Wrote SQLSVRNAME. Now it 's running. thanks -Message d'origine- De : Blair [mailto:os...@live.com] Envoyé : lundi 24 août 2009 02:39 À : 'General discussion for Windows Installer XML toolse

[WiX-users] check input characters of install path

2009-08-24 Thread sandun css
Hi, I need to check whether the installation path contains characters other than, a-z, A-Z, 0-9, -, _ and space. What I did was this, 1. Removed the standard BrowseDlg and added a new browse dialog. (MyBrowseDlg) 1 1

[WiX-users] Creating a patch that restarts existing service

2009-08-24 Thread Andy2k8
How do I create a patch that restarts the existing service followed by the files update? - Andy MSI Developer Schneider Electric:working: -- View this message in context: http://n2.nabble.com/Creating-a-patch-that-restarts-existing-service-tp3501927p3501927.html Sent from the wix-users

[WiX-users] check input characters of install path

2009-08-24 Thread sandun css
Hi, I need to check whether the installation path contains characters other than, a-z, A-Z, 0-9, -, _ and space. What I did was this, 1. Removed the standard BrowseDlg and added a new browse dialog. (MyBrowseDlg) 1 1

[WiX-users] How can I revert to old file and registry value.

2009-08-24 Thread bjscf
Hello all, I have the below question, does anyone know how to implement it? I need to write two MSIs, both of them will install the same file with different versions to the same path and modify the same registry value. For example, the two MSIs are MSI-1 and MSI-2. MSI-1 will install file A (ver