Re: [WiX-users] How to duplicate files before InstallSqlData

2009-01-12 Thread Peter Björkman
Custom Action=InstallSqlData After=DuplicateFiles/Custom in The InstallExecuteSequence solved my problem Custom Action=DuplicateFiles Before=InstallSqlData /Custom didn't work as DuplicateFiles is not a CustomAction. (I belive...) Thanks a lot. -Original Message- From: Yan Sklyarenko

[WiX-users] How Display Progress Text on Uninstallation from Add/Remove Programs

2009-01-12 Thread Mazin Sayid Ali
Hi I'm using WIX 3.0.4408.0. I'm able to install a MSI with proper status message in the progress bar Dialog. Similiarly uninstalling using The MSI directly too shows the ActionText. But when I try to uninstall from Add/Remove programs It doesnt show any status message. I tried setting the

[WiX-users] Sql scripts do not run at the time of uninstallation

2009-01-12 Thread anwesha.m
Hi All, I am using Wix 3.0.4311.0. I have an installer which is required to run a script at the time of installation (to create stored procedures in database) and run another script at the time of uninstallation (to drop the stored procedures created). Here's a snippet of the code:

Re: [WiX-users] Stuck on populating ListBox from CA

2009-01-12 Thread Kusuma Sudheer Kumar (Tata Consultancy Services)
Steve, This might help you. I have done this and it works. http://blog.torresdal.net/CommentView,guid,fe27427f-ff4f-4056-bc50-c98e23227c6d.aspx -Sudheer -Original Message- From: Steve Smith [mailto:st...@codejitsu.com] Sent: Saturday, January 10, 2009 6:41 AM

[WiX-users] Custom User and SQL Dialogs

2009-01-12 Thread Shannon Ma
Does anyone know of some user account and SQL dialogs that already exist? The user dialog would be one that accepts a Windows username and gives you the option to create one. The SQL dialog would be one that asks you for a SQL server name in addition to some credentials that can be used to

Re: [WiX-users] Custom User and SQL Dialogs

2009-01-12 Thread Arthur Curvello
I think you're searching for something like this.. http://benschwehn.wordpress.com/2007/10/16/msi-setup-how-to-do-a-sql-server- connection-test-2/ -- Arthur Curvello Convergência Latina tel: +55 21 2494-5476 cel: +55 21 9762-4284 email: arthur.curve...@conv.com.br Confidencialidade: A

Re: [WiX-users] Installing Files to multiple drives....

2009-01-12 Thread Kalvagadda, SivaKrishna (MLX Technology)
Hi, I am using the pca:complusapplication to install the com dll in com+ server. I am able to install the dll in the com + Server which having only one class (component) but I am not able to install dll having multiple classes (multiple component) Kindly refer the following component portion

[WiX-users] MSI Inventory Sample Application

2009-01-12 Thread tulasacra
Hello, in the Deployment Tools Foundation help file I found the following pragraph: *MSI Inventory* *Shows a hierarchical, relational, searchable view of all of the product, feature, component, file, and patch data managed by MSI, for all products installed on the system.* Unfortunately, I

Re: [WiX-users] Save configuration data during upgrade.

2009-01-12 Thread Yuri N. Sakharov
I changed my code to schedule my CA after FindRelatedProducts and to execute it immediate but got error: “Could not find the file ‘C:\Program Files\Producer\Product\MyCAdllname.InstallState’” Is there any example of how to schedule C#(to read XML easy) CA outside InstallInitialize and

[WiX-users] Adv of Wix

2009-01-12 Thread Rishikesh.V
Hi I am new to Wix and would like to know the advantages it has over visual studio windows installer. Thanks in advance. Rishi This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are

Re: [WiX-users] Adv of Wix

2009-01-12 Thread Rob Mensching
The primary advantage is complete control over the MSI created. The Visual Studio deployment projects offer a subset of the Windows Installer functionality. If Visual Studio meets all of your installation needs then it is far easier to use. If it doesn't, then WiX toolset comes with a steep

Re: [WiX-users] Sql scripts do not run at the time of uninstallation

2009-01-12 Thread Rob Mensching
WiX v3.4311.0 is 6-months old. There have been a lot of fixes made in that time. Try a more recent build and see if this is fixed. Also, make sure in a verbose log file that the Component that contains the SqlScript in question is actually being uninstalled. -Original Message- From:

Re: [WiX-users] How to duplicate files before InstallSqlData

2009-01-12 Thread Rob Mensching
The standard MSI actions aren't designed to be moved around. You're unfortunately stuck using the @Sequence attribute. -Original Message- From: Peter Björkman [mailto:peter.bjork...@aptus.se] Sent: Monday, January 12, 2009 00:44 To: General discussion for Windows Installer XML toolset.

[WiX-users] Installing COM+ DLLs

2009-01-12 Thread Kalvagadda, SivaKrishna (MLX Technology)
Hi, I am using the pca:complusapplication to install the com dll in com+ server. I am able to install the dll in the com + Server which having only one class (component) but I am not able to install dll having multiple classes (multiple component) Kindly refer the following component portion

Re: [WiX-users] Installing Files to multiple drives....

2009-01-12 Thread Neil Sleightholm
What error do you get in the MSI log files? Have you read this: http://www.tramontana.co.hu/wix/lesson5.php#5.12 What version of WiX are you using? Neil -Original Message- From: Kalvagadda, SivaKrishna (MLX Technology) [mailto:sivakrishna_kalvaga...@ml.com] Sent: 12 January 2009 15:00

Re: [WiX-users] Installing Files to multiple drives....

2009-01-12 Thread Fredrik Grohn
What error do you get in the log? -Original Message- From: Kalvagadda, SivaKrishna (MLX Technology) [mailto:sivakrishna_kalvaga...@ml.com] Sent: Monday, January 12, 2009 7:00 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Installing Files to

[WiX-users] Preventing reboot when unininstalling IIS app

2009-01-12 Thread Jeremy Lew
Using iis:WebApplication etc to install a couple of web apps. On uninstall, the installer wants to reboot the system to unlock files unless I issue a IIS reset first. Is there any way built into the iis extension to do this, or do I need a custom action? If CA, where should it be sequenced to

Re: [WiX-users] Preventing reboot when unininstalling IIS app

2009-01-12 Thread Rob Mensching
Never seen that problem myself. -Original Message- From: Jeremy Lew [mailto:j...@liquidmachines.com] Sent: Monday, January 12, 2009 09:31 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Preventing reboot when unininstalling IIS app Using iis:WebApplication

Re: [WiX-users] Preventing reboot when unininstalling IIS app

2009-01-12 Thread Rob Mensching
(sorry, typo hit send accidentally) Can you provide more information about what is being held in use? -Original Message- From: Rob Mensching [mailto:rob.mensch...@microsoft.com] Sent: Monday, January 12, 2009 09:33 To: General discussion for Windows Installer XML toolset. Subject: Re:

Re: [WiX-users] Stuck on populating ListBox from CA

2009-01-12 Thread Steve Smith
Thanks Sudheer! I had found this and used it to construct the example I posted earlier, but it wasn't until I went through it more thoroughly and downloaded the working sample that I finally noticed the difference: The Record object's columns are 1-indexed, not 0-indexed. I didn't notice it

[WiX-users] Creating a SQL Analysis Services DB

2009-01-12 Thread Nicolas Bryant
Hello all. First thing to say is that I'm an Extreme Newbie(tm) when it comes to Wix, so please be gentle! *anxious smile* Okay, what I'm trying to do is to create a SQL analysis services DB as part of the installation. I've managed to add some GUI which sets the value of some properties

Re: [WiX-users] Stuck on populating ListBox from CA

2009-01-12 Thread Rob Mensching
IIRC, Records are 0 indexed. However 0 has special meaning in some cases so for all intents and purposes you can consider Records 1-based. Documentation is pretty clear in the one place where 0 is used (IIRC, it's been a while since I needed that). -Original Message- From: Steve

Re: [WiX-users] Preventing reboot when unininstalling IIS app

2009-01-12 Thread Jeremy Lew
I'm not sure how to tell. I don't see anything informative in the msi log about why it wants to restart. -Original Message- From: Rob Mensching [mailto:rob.mensch...@microsoft.com] Sent: Monday, January 12, 2009 12:35 PM To: General discussion for Windows Installer XML toolset.

Re: [WiX-users] [WiX-devs] DTF DoAction throw exception

2009-01-12 Thread Matt Ziegler
I added 2502170 with an attached patch that I believe fixes the issue. Let me know if there is anything else you would like from me. Thanks Matt On Wed, Jan 7, 2009 at 1:10 PM, Jason Ginchereau jason...@microsoft.comwrote: Sorry I haven't looked into that any further. Can you create a bug

[WiX-users] Adv of Wix

2009-01-12 Thread Rishikesh.V
Hi I am new to Wix and would like to know the advantages it has over visual studio windows installer. Thanks in advance. Rishi This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you

[WiX-users] refresh combobox without leaving dialog

2009-01-12 Thread Scott Sam
Is this possible? If so how do I do it? This is what I'm trying to accomplish. I have two dialogs, dialog1 and dialog2. Dialog1 contains an edit box. When the use hits the next button a custom action is run that gets a list of items from the server named in the edit box. Dialog2 has two

Re: [WiX-users] refresh combobox without leaving dialog

2009-01-12 Thread Rob Mensching
IIRC, this has been discussed previously and the answer was the Windows Installer UI does not support what you are trying to do. You'd need to create an external UI handler (lots of work). -Original Message- From: Scott Sam [mailto:s...@clearviewecm.com] Sent: Monday, January 12, 2009

Re: [WiX-users] refresh combobox without leaving dialog

2009-01-12 Thread Vuchuru, Surekha (SBT US EXT)
Hi Scott, I had faced the same problem earlier...I implemented Twin Dialog technique. Create a dialog similar to Dialog2, say TwinDialog3(UI should look same)... Example: Publish Dialog=Dialog1 Control=Next Event=NewDialog Value=Dialog2 Order=1/ Publish Dialog=Dialog1 Control=Next

Re: [WiX-users] Adv of Wix

2009-01-12 Thread Christopher Karper
Double post and ignore the replies?Stay classy, Rishi... On Mon, Jan 12, 2009 at 2:37 PM, rishikes...@cognizant.com wrote: Hi I am new to Wix and would like to know the advantages it has over visual studio windows installer. Thanks in advance. Rishi This e-mail and any files

Re: [WiX-users] Preventing reboot when unininstalling IIS app

2009-01-12 Thread Rob Mensching
MSI should list the file that is locked in use, requiring the reboot. -Original Message- From: Jeremy Lew [mailto:j...@liquidmachines.com] Sent: Monday, January 12, 2009 10:01 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Preventing reboot when

[WiX-users] Wix 3.0.4909.0

2009-01-12 Thread Arun Perregatturv
Can I download and use Wix version 3.0.4909? Last updated was Jan 09 -2009 Thanks, Arun Perregattur -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story.

Re: [WiX-users] Wix 3.0.4909.0

2009-01-12 Thread Rob Mensching
Yeah, that's our weekly release. -Original Message- From: Arun Perregatturv [mailto:aperregatt...@napcosecurity.com] Sent: Monday, January 12, 2009 13:31 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Wix 3.0.4909.0 Can I download and use Wix version

[WiX-users] Merge Module doesnt remove all files

2009-01-12 Thread Adam Langley
Hi, I have created a simple merge module using WiX and have a simple problem. Probably an obvious solution as well. Files that are specified within the TARGETDIR directory are correctly removed upon uninstall, however, under that folder I have: Directory Id=CommonFilesFolder ..which contains

Re: [WiX-users] Merge Module doesnt remove all files

2009-01-12 Thread Rob Mensching
Verbose log file should show you the Components being uninstalled. That's the place to start. -Original Message- From: Adam Langley [mailto:alang...@winscribe.com] Sent: Monday, January 12, 2009 16:21 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Merge

Re: [WiX-users] Generating random password for created user

2009-01-12 Thread Joe Osman
You can use the following vbscript: Function generatePassword() Dim NUMLOWER, NUMUPPER, LOWERBOUND, UPPERBOUND, LOWERBOUND1, UPPERBOUND1, SYMLOWER, SYMUPPER Dim newPassword, count, pwd Dim pCheckComplex, pCheckComplexUp, pCheckComplexLow, pCheckComplexNum, pCheckComplexSym, pCheckAnswer,

Re: [WiX-users] Merge Module doesnt remove all files

2009-01-12 Thread Rob Mensching
Only Components. At merge time a Merge Module's contents get wired to a Directory and Feature. MSI SDK has a lot of detail about Merge Modules. -Original Message- From: Adam Langley [mailto:alang...@winscribe.com] Sent: Monday, January 12, 2009 17:24 To: General discussion for Windows

Re: [WiX-users] Merge Module doesnt remove all files

2009-01-12 Thread Adam Langley
Thanks Rob, Just curious, I couldn't find any documentation on this - in a wix MSI, features contain components, and that defines which components are actually installed. In a WiX Merge, there is no concept of a 'feature', so what _is_ included? ALL defined components? Adam Langley Senior

[WiX-users] VB6 Runtime Extended file merge modules?

2009-01-12 Thread Michael Ballou
Does anyone know if Microsoft is providing updated merge modules for the new Visual Basic 6.0 Runtime Extension updates? These include security updates we should be installing for our customers. The problem is that Windows Update won't update them if only our products have installed those files,

Re: [WiX-users] Generating random password for created user

2009-01-12 Thread Peter Oehlert
This is not a cryptographically secure password and should *never* be used for a real production system. Because the VB Rnd function is a Linear Congruential Genererator random number generator, there is significant statistical correlation between characters within the password that would make it