Re: [WiX-users] Which way to install a Windows service is best?

2009-10-10 Thread Dave Kolb
I got my 64 bit C# Custom Action running just fine and it can set some properties that I can use to set my account and password on my element. Thanks to everyone. Wix is pretty cool! I have two other questions though: 1. When my CA sets properties they print in the log How can I suppress thi

[WiX-users] burn and setup builder

2009-10-10 Thread Sean Farrow
Hi: Is ther any documentation on burn and how this works. Also how does one go about creating a boot-strapper that checks for the presence and installs the .net framework. Regards Sean. -- Come build with us! The Black

[WiX-users] serial number control

2009-10-10 Thread Sean Farrow
Hi: I am in the process of needing the write a custom dialog with four edit controls, next, back and cancel button. When the - character is pressed, I want the input to move from one edit control to the next one. Is this something doable in wix using standard dialogs, or should I write my own di

Re: [WiX-users] installing a file to more than one directory

2009-10-10 Thread AG Crum
You could, and the way I've done this, make unique components for each file, but the Source attribute for the File is the same for all of them. I created a ComponentGroup, and then used in my feature. -AG On Sat, Oct 10, 2009 at 9:19 PM, Sea

Re: [WiX-users] Upgrade Detection (FindRelatedProducts) with EmbeddedUI

2009-10-10 Thread AG Crum
I create a very basic MSI with an embeddedUI (the sample embedded UI). FindRelatedProducts is already first in the InstallExecuteSequence. The issue is that the EmbeddedUI launches first. Only after the IEmbeddedUI.Intialize() returns true, does the InstallExecuteSequence begin. Does this mean tha

[WiX-users] installing a file to more than one directory

2009-10-10 Thread Sean Farrow
Hi: I have a situation where by I need to install file[s] in to more than one directory. I have a multi-select listbox (custom dialog), on the dialog disappearing I set a property with the selected strings I then determine the directories these strings correspond to, then I need to install the fi

[WiX-users] Out Of Office Reply

2009-10-10 Thread gary
Thank you for your message. I am currently out of the office on Holiday with no access to e-mail. I will be returning to work on 12 October. If you need assistance before then, you may reach Atlas on 0845 867 2845 or i...@atlascs.co.uk. Regards Gary Howlett --

Re: [WiX-users] listbox/view with check boxes

2009-10-10 Thread Bob Arnson
Sean Farrow wrote: > Is it possible within the wix ui framework to have a listbox/listview > with checkboxes? If not could this feature be addes? > MSI doesn't support. See http://n2.nabble.com/Checkboxes-in-dialogues-td787667.html. -- sig://boB http://joyofsetup.com/ -

Re: [WiX-users] Custom action type 19 displays message over the "Welcome" dialog

2009-10-10 Thread Bob Arnson
Dan Vasilov wrote: > > It's the PrepareDlg, which is shown modelessly during AppSearch and LaunchConditions actions. -- sig://boB http://joyofsetup.com/ -- Come build with us! The BlackBerry(R) Developer Con

Re: [WiX-users] Localization strings

2009-10-10 Thread Bob Arnson
Danielle k wrote: > How can i know what strings in the wixui_enus.xwl are relevant? > All the strings have the name of the dialog they're used in as a prefix so if your custom UI includes that dialog, you need those strings. -- sig://boB http://joyofsetup.com/

Re: [WiX-users] dark.exe rejecting MsiAssembly table rows

2009-10-10 Thread Bob Arnson
Alan Sinclair wrote: > Is there a problem with dark.exe (v 3.0.4805.0) in decompiling MsiAssembly > tables? > Have you tried the RTM release (v3.0.5419.0)? If it also occurs there, please file a bug and attach the merge module that demonstrates the problem. -- sig://boB http://joyofsetup.co

Re: [WiX-users] Showing error message from CA which is called through publish event DoAction

2009-10-10 Thread Bob Arnson
Igor Paniushkin wrote: > I have read in msi documentation, that it is be design, so my question > what is the best approach to show error message box from such situation? > Set a property in the CA and use that property as the condition in a SpawnDialog control event to show a message box. Nev

Re: [WiX-users] Which way to install a Windows service is best?

2009-10-10 Thread Dave Kolb
I did find this http://blog.torresdal.net/2008/10/24/WiXAndDTFUsingACustomActionToListAvaila bleWebSitesOnIIS.aspx so think that will suffice for an example to get started. Any others appreciated though. Apparently DTF supplies the conventional .dll wrapper msi needs to call managed code. Needs to

Re: [WiX-users] Which way to install a Windows service is best?

2009-10-10 Thread Dave Kolb
Thanks Blair. I will have a go at using and running a prior CA to set properties for it and will avoid any evil self install patterns. I am confused on how DTF fits into the picture though. 1. Is DTF necessary to run a custom action built with C# managed code? 2. Must I supply my CA with the ele

Re: [WiX-users] Problems with deactivating a component while package removal

2009-10-10 Thread Blair
I don't quite understand what you are attempting to do. You have some component somewhere that installs a file ([SignWrapper_RootDir]signwrapper.xml) that four other components modify upon installation and "revert" upon removal. So far so good. What are the criteria used to determine which of the

Re: [WiX-users] Which way to install a Windows service is best?

2009-10-10 Thread Blair
If I were you I would use option 4. I would write an immediate CA that retrieves and decrypts the account and password that I would schedule in InstallExecuteSequence running sometime before the InstallServices action (I would probably sequence it before CostInitialize, but that is just me). That

Re: [WiX-users] How to modify a file during install using a CA

2009-10-10 Thread Blair
All "in-script" actions (deferred, rollback, and commit) do not have access to session properties or the database. You have to pass them information using properties (named after the in-script action's name) that the action can retrieve using the special "CustomActionData" property. In your case I

Re: [WiX-users] Merge modules install

2009-10-10 Thread Blair
There is a difference in the VC 8 runtime library installation routines between XP and Vista. In Vista, the Win32 SxS configuration isn't completed until Commit, long after the StartServices action. http://www.microsoft.com/communities/newsgroups/en-us/default.aspx?dg=micros oft.public.platformsd

Re: [WiX-users] Please wait while the installer finishes determiningyour disk space requirements, Error?!

2009-10-10 Thread Blair
Several have reported that they have been unable to repro while logging. It would be interesting to see if setting the MsiLogging property to something that doesn't create a huge log (and consequently doesn't increase the total transaction time) would have some effect. -Original Message- F

Re: [WiX-users] Which way to install a Windows service is best?

2009-10-10 Thread Dave Kolb
Guten Tag Thorsten and thanks. I have not built a custom action yet but will look at that approach "iff" my custom action can set WIX properties that another custom action or wix element can use afterwards. If I can run my CA before the element then it could just refer to the properties my CA ju

Re: [WiX-users] Which way to install a Windows service is best?

2009-10-10 Thread Thorsten Schöning
Guten Tag Dave Kolb, am Samstag, 10. Oktober 2009 um 19:24 schrieben Sie: > I would love to but the information I need to look up is actually the > service account and password that goes onto the element. > Once the service is installed I think it is too late to change this > information. At leas

Re: [WiX-users] Which way to install a Windows service is best?

2009-10-10 Thread Dave Kolb
I would love to but the information I need to look up is actually the service account and password that goes onto the element. Once the service is installed I think it is too late to change this information. At least I don't know where Windows keeps it, or the format it is stored in but I suspect

Re: [WiX-users] Which way to install a Windows service is best?

2009-10-10 Thread Dominique Louis
Why no use ServiceInstall etc to install the service, but then change the appropriate user info via the WiX registry calls? That way MSI is in charge of correctly uninstalling and removing the appropriate registry settings. Dominique. -Original Message- From: Dave Kolb [mailto:d...@dot

[WiX-users] Problems with deactivating a component while package removal

2009-10-10 Thread Thorsten Schöning
Hello all, my installer produced with version 2 of the WiX toolkit installs one XML-file which should be configurable via the installer using some specific features and components. Those components use XmlFile to set a specific value on installation of the feature/component and XmlConfig to delete

[WiX-users] How to modify a file during install using a CA

2009-10-10 Thread Thomas Due
During the install interview I collect information about the database connection and this information has to be added to an xml file which is added during install. I could do this using the XmlConfig or XmlFile elements, but unfortunately some of the information have to be encrypted before added

[WiX-users] Merge modules install

2009-10-10 Thread disclaimer disclaimer
Hello all. I have a specific problem on a Vista OS (on XP works fine!): my service cannot starts during installation. Let me describe more detailed: I'm creating a package to install one service and a few binaries and .dlls. Also, I need to install MS VS80 run time libraries so I put lines for merg

[WiX-users] listbox/view with check boxes

2009-10-10 Thread Sean Farrow
Hi: Is it possible within the wix ui framework to have a listbox/listview with checkboxes? If not could this feature be addes? Regards Sean. -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is th

Re: [WiX-users] Please wait while the installer finishes determiningyour disk space requirements, Error?!

2009-10-10 Thread Dominique Louis
No fix/work around for this issue then? Dominique. -Original Message- From: Dominique Louis [mailto:dominique.lo...@amxeurope.com] Sent: Thu 10/8/2009 9:31 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Please wait while the installer finishes determiningyour disk space re

[WiX-users] Which way to install a Windows service is best?

2009-10-10 Thread Dave Kolb
I see at least 4 ways my windows service could be installed. My goal is to be able to call some custom code so that I can set the username and password for the service by looking up and decrypting a value from the registry. Therefore I do not think that is an option. The remaining ways I see t