Re: [WiX-users] Action not found: WelcomeDlg error

2009-06-10 Thread sandun css
My dialog sequence is like this, Welcome dlg -> Licences Agreement dlg -> InstallDir dlg -> MyProgress dlg -> Finish here, MyProgress dialog is a progress dialog created by me. To create that dialog, I have just copied the code of WiX porgress dialog. I did that because I couldn't call WiX progre

Re: [WiX-users] Action not found: WelcomeDlg error

2009-06-10 Thread sandun css
My dialog sequence is like this, Welcome dlg -> Licences Agreement dlg -> InstallDir dlg -> MyProgress dlg -> Finish here, MyProgress dialog is a progress dialog created by me. To create that dialog, I have just copied the code of WiX porgress dialog. I did that because I couldn't call WiX progre

Re: [WiX-users] External UI and end of installation

2009-06-10 Thread Rob Mensching
And I keep forgetting that the burn code is available. That's a full external UI handler (and more) you can see in the WiX v3.5 code base. Rob Mensching wrote: > Same way. The MSI SDK has an example with a full external UI handler. > Might check that out. > > Tomasz Grobelny wrote: > >> I inst

Re: [WiX-users] Why Complus component is not deleted after install msi?

2009-06-10 Thread Rob Mensching
It appears that you are doing SelfReg. SelfReg is well know to be evil. I recommend putting your registry keys in the Registry table. Jirong Hu wrote: > I found where it's registered, but seems the un-registry is not successful > after remove the application from the Add/Remove program. How to f

Re: [WiX-users] External UI and end of installation

2009-06-10 Thread Rob Mensching
Same way. The MSI SDK has an example with a full external UI handler. Might check that out. Tomasz Grobelny wrote: > I install external UI handler through MsiSetExternalUI. I get messages > concerning progress just fine. But how do I get information about when the > installation is finished? > --

Re: [WiX-users] Stopping IIS prior to installing COM+ components

2009-06-10 Thread Richard
In article <4a3035a9.9090...@wixtoolset.org>, Rob Mensching writes: > See the ServiceControl element D'oh. Yes, of course, this is the best way to stop the service. Now that I think about it more, the reason we had to do "net stop" was in the bootstrapper to work around bugs in a previou

Re: [WiX-users] UAC dialog poping up

2009-06-10 Thread Sascha Beaumont
There's a great collection of blog posts explaining how UAC and MSI works over at http://blogs.msdn.com/rflaming/default.aspx?p=3 Sure helped in getting my head around it all :) On Wed, Jun 10, 2009 at 9:21 PM, Bob Arnson wrote: > sandun css wrote: >> Thanks for the reply. But I need to install i

[WiX-users] External UI and end of installation

2009-06-10 Thread Tomasz Grobelny
I install external UI handler through MsiSetExternalUI. I get messages concerning progress just fine. But how do I get information about when the installation is finished? -- Regards, Tomasz Grobelny http://grobelny.oswiecenia.net/ ---

Re: [WiX-users] Why Complus component is not deleted after install msi?

2009-06-10 Thread Jirong Hu
I found where it's registered, but seems the un-registry is not successful after remove the application from the Add/Remove program. How to fix this? Thanks Jirong C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\RegSvcs.exe

Re: [WiX-users] SCRIPTPARSE question

2009-06-10 Thread Rob Mensching
You're running that at install time? Interesting. I don't know anything about that. You should follow up with the owner of the tool to see why it fails when you run it. Scharp, Craig wrote: > Hi Rob, > > Your response caught me off guard, so I did some research. I'm using > Wix Edit in combinat

[WiX-users] Why Complus component is not deleted after install msi?

2009-06-10 Thread Jirong Hu
Hi All I don' t know how this ComPlus gets installed, only find this in wxs: I can

Re: [WiX-users] How to get the current directory of msi is running from?

2009-06-10 Thread Rob Mensching
I'd use the Formatted syntax that refers to File/@Ids. See the MSI SDK Formatted topic for more details. Jirong Hu wrote: > Hi All > > > > In the follow wxs, I want the SFSConfigFileEditor.exe get configurator.xml > (the first parameter) from the current directory where msi file gets > launched

Re: [WiX-users] Sharing files

2009-06-10 Thread Rob Mensching
I answered this exact question recently. My recommendation is to not do that. Create a 3 Merge Module and make the other two dependent on it. More expensive but you're more likely to maintain your sanity. Shree Krishnamurthi wrote: > Hi > > Is there any way I can share the same file in 2 merge m

Re: [WiX-users] Stopping IIS prior to installing COM+ components

2009-06-10 Thread Rob Mensching
See the ServiceControl element MacDiarmid, James D wrote: >>> I've done it with a "net stop" command. However, this will mean a >>> service outage for any web site serviced by IIS. >>> That may not be acceptable. >>> > > I don't know how to do that in Wix. As far as an outage is concerned

Re: [WiX-users] Executing Command line using cusotm actions

2009-06-10 Thread Wilson, Phil
Unless you know for sure that aspnet_regiis.exe will return a zero exit code you should change your custom action type to ignore exit code. Phil Wilson -Original Message- From: Shree Krishnamurthi [mailto:shree.krishnamur...@proximex.com] Sent: Wednesday, June 10, 2009 2:10 PM To: wi

[WiX-users] How to get the current directory of msi is running from?

2009-06-10 Thread Jirong Hu
Hi All In the follow wxs, I want the SFSConfigFileEditor.exe get configurator.xml (the first parameter) from the current directory where msi file gets launched. Something like 'ExeCommand= CurrentDirectory & "configurator.xml ... How to get that current directory inside wxs? Thank

[WiX-users] Sharing files

2009-06-10 Thread Shree Krishnamurthi
Hi Is there any way I can share the same file in 2 merge modules installed by the same msi? I have to be able to install some common files for more than one merge module installation. Thanks Shree -- Crystal Reports -

[WiX-users] Executing Command line using cusotm actions

2009-06-10 Thread Shree Krishnamurthi
Hi I am trying to execute command line using custom actions and it seems to error out with Error 1721 Here is what I am doing: I have also tried Property='[NET20]' ExeCommand='aspnet_regiis.exe -i' Property='NET20' ExeCommand='aspnet_regiis.exe -i' Property='[NET20]' ExeCommand='[NET20]asp

Re: [WiX-users] Stopping IIS prior to installing COM+ components

2009-06-10 Thread MacDiarmid, James D
>> I've done it with a "net stop" command. However, this will mean a >> service outage for any web site serviced by IIS. >> That may not be acceptable. I don't know how to do that in Wix. As far as an outage is concerned, it would be acceptable. Servers are typically taken offline when upgrad

[WiX-users] How to

2009-06-10 Thread Jirong Hu
I have this CustomAction in the wxs: In SFSConfigFileEditor.exe source code, it'

[WiX-users] Installing a service

2009-06-10 Thread MacDiarmid, James D
Can someone tell me what happens when the -I switch is used on the command line when running a service executable? I know it's supposed to install it as a service from a "DOS" prompt. I'm trying to replicate this action in Wix so I'm a little confused on what to ask. Jim MacDiarmid EDS, an H

Re: [WiX-users] Stopping IIS prior to installing COM+ components

2009-06-10 Thread Richard
In article <107121fc34fa184f9379e97be12da8da03de3...@usahm201.amer.corp.eds.com>, "MacDiarmid, James D" writes: > Is there a way to Stop IIS before installing/registering COM+ > components? I've done it with a "net stop" command. However, this will mean a service outage for any web sit

[WiX-users] Stopping IIS prior to installing COM+ components

2009-06-10 Thread MacDiarmid, James D
Is there a way to Stop IIS before installing/registering COM+ components? Jim MacDiarmid EDS, an HP company U.S. Public Sector Department of Homeland Security Segment 13600 EDS Drive, A3N-B27 Herndon, VA 20171 703-236-3821(office) 571-247-2343(cell) ---

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

2009-06-10 Thread Shawn Dwyer
Shawn Dwyer wrote: > I have a few question regarding this: > 1. Why does it think Feature2 is installed? > 2. Why does it have Feature2A as Advertise (I would expect Absent) > 3. Once I get this working I'll need my DTF custom action to check the > states. Does MigrateFeatureStates set the Fea

Re: [WiX-users] SCRIPTPARSE question

2009-06-10 Thread Scharp, Craig
Hi Rob, Your response caught me off guard, so I did some research. I'm using Wix Edit in combination with Windows Application Installer template, so maybe this is a wai thing and not related to wix. (http://www.codeplex.com/wai) With the wai download there's a "how to" guide. SCRIPTPARSE is a

Re: [WiX-users] Creating a user and setting registry permissions

2009-06-10 Thread Rob MacFadyen
Rob, Thanks! That works like a charm. Note to self... Always use util:PermissionEx :) Rob -Original Message- Date: Wed, 10 Jun 2009 08:52:02 -0700 From: Rob Mensching Subject: Re: [WiX-users] Creating a user and setting registry permissions To: General discussion for Windows I

Re: [WiX-users] SqlDatabase trusted connection

2009-06-10 Thread Neil Sleightholm
Thanks everyone for your help on this. I think I will go back to exec'ing sqlcmd and raise a feature request to allow connection without elevated permissions. Neil -Original Message- From: Michael Osmond [mailto:mosm...@baytech.com.au] Sent: 10 June 2009 07:33 To: General discussion for

[WiX-users] How to create a file sharing?

2009-06-10 Thread Jirong Hu
Hi All I am using the following code to create and share the C:\inetpub\wwwroot\SFS, while it gets created. After run msi, the SFS folder is shared, Everyone is in the Permission list, but the Read/Allow box is not checked. And how can I specify a domain user?

Re: [WiX-users] WiX-users Digest, Vol 37, Issue 54

2009-06-10 Thread Wilson, Phil
A message like "Skipping action: UpdateConfigAction (condition is false)" isn't related to whether the files are copied or not, which is what you are perhaps assuming with your "Hence I see Skipping ...etc". That's not why your custom action is being skipped - it's about the condition evaluati

[WiX-users] Arbitrary size restrictions on Patches (Bug?)

2009-06-10 Thread martin lavelle
Hi, While attempting to build larger than average patches with WiX 3.0.5308.0, and using Admin Images, Pyro crashes returning the following message: pyro.exe : error PYRO0296 : An error (E_FAIL) was returned while adding files to a CAB file. This most commonly happens when creating a CAB file

Re: [WiX-users] problem with shorcut in folder SendTo

2009-06-10 Thread Rob Mensching
Hmm, that sucks. I guess it means you'll need a per-user MSI. Rafal Perkowski (CPL Solutions) wrote: > Yes, I checked MSI SDK. In both case SendToFolder property contains the full > path of the SendTo folder for the current user. > > -Original Message- > From: Rob Mensching [mailto:r...@w

Re: [WiX-users] Component Id, Guid, file name and upgrade

2009-06-10 Thread Rob Mensching
Id's are private to an MSI. Only patches care about the Ids being stable. Alex Ivanoff wrote: > Ok, I create new Guid. How about Id? > > > -Original Message- > From: Rob Mensching [mailto:r...@wixtoolset.org] > Sent: Wednesday, June 10, 2009 10:46 > To: General discussion for Windows Insta

Re: [WiX-users] Component Id, Guid, file name and upgrade

2009-06-10 Thread Alex Ivanoff
Ok, I create new Guid. How about Id? -Original Message- From: Rob Mensching [mailto:r...@wixtoolset.org] Sent: Wednesday, June 10, 2009 10:46 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Component Id, Guid, file name and upgrade 1. Sometimes it take

Re: [WiX-users] Getting Unexpected Error 2856

2009-06-10 Thread MacDiarmid, James D
Ok I see the problem now. Thanks :) -Original Message- From: Rob Mensching [mailto:r...@wixtoolset.org] Sent: Wednesday, June 10, 2009 11:57 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Getting Unexpected Error 2856 Hmm, MSI SDK says " 2856

Re: [WiX-users] problem with shorcut in folder SendTo

2009-06-10 Thread Rafal Perkowski (CPL Solutions)
Yes, I checked MSI SDK. In both case SendToFolder property contains the full path of the SendTo folder for the current user. -Original Message- From: Rob Mensching [mailto:r...@wixtoolset.org] Sent: 10 June 2009 16:58 To: General discussion for Windows Installer XML toolset. Subject: Re:

Re: [WiX-users] WiX-users Digest, Vol 37, Issue 54

2009-06-10 Thread Shree Krishnamurthi
Oops That was dumb thing to do. Thanks once again it works now Shree -Original Message- From: wix-users-requ...@lists.sourceforge.net [mailto:wix-users-requ...@lists.sourceforge.net] Sent: Tuesday, June 09, 2009 10:19 PM To: wix-users@lists.sourceforge.net Subject: WiX-users Digest, Vol

Re: [WiX-users] problem with shorcut in folder SendTo

2009-06-10 Thread Rob Mensching
MSI SDK says there is a SendToFolder property and that it is per-user and per-machine. Have you looked at the MSI SDK? Rafal Perkowski (CPL Solutions) wrote: > Hi, > > I want to create a shortcut in SendTo folder for all users. SendTo is per > user directory and I am not sure that I can create s

Re: [WiX-users] Getting Unexpected Error 2856

2009-06-10 Thread Rob Mensching
Hmm, MSI SDK says " 2856Creating a second copy of the dialog [2]. " That doesn't mean anything to me. MacDiarmid, James D wrote: > I'm attempting to rewire my dialogs (previously generated by WixAware) > and I'm getting the forementioned error 2856 when clicking the back > button on the Cust

Re: [WiX-users] SCRIPTPARSE question

2009-06-10 Thread Rob Mensching
Hmm, I don't know what SCRIPTPARSE is and I don't know why two "\\" would be escaped. Can you provide more information? Scharp, Craig wrote: > Hi all, > > > > I'm using Wix 3.0 and trying to use SCRIPTPARSE to change database host > in my web.config file. For clients using sql server express, I

Re: [WiX-users] Fwd: During Uninstall Remove Default website instade of Actual website

2009-06-10 Thread Rob Mensching
This sort of question has been asked many times. Have you tried searching the wix-users archive? sunil bisoyi wrote: > FYI > > -- Forwarded message -- > From: sunil bisoyi > Date: Wed, Jun 10, 2009 at 5:22 PM > Subject: During Uninstall Remove Default website instade of Actual we

[WiX-users] problem with shorcut in folder SendTo

2009-06-10 Thread Rafal Perkowski (CPL Solutions)
Hi, I want to create a shortcut in SendTo folder for all users. SendTo is per user directory and I am not sure that I can create shortcut in this folder for all user. Can I create shortcut in SendTo for all user and if yes how? Thanks, Rafal

Re: [WiX-users] Need sample WIX installer from VDPROJ installer

2009-06-10 Thread Rob Mensching
dark.exe is your friend. Srinivas Gali wrote: > Hi All, > > > I am trying to create WIX installer from VDPROJ installer, please help me > with samples > > > Regards, > Srinivas > > CAUTION - Disclaimer * > This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATI

Re: [WiX-users] Creating a user and setting registry permissions

2009-06-10 Thread Rob Mensching
The built-in LockPermissions table (the Permission element in WiX) is weak. Some might even call it lame. It checks for the user account in the immediate mode. Of course, the user is created deferred so it doesn't exist yet. Use Util:PermissionEx and that will work. Rob MacFadyen wrote: > Hey a

Re: [WiX-users] port in use?

2009-06-10 Thread Rob Mensching
Unfortunately, you will need a CustomAction to accomplish that. Hukumchand Shah wrote: > Hi All, > > In my WIX installer, I want to check the port is in use or not. > e.g. suppose 8080 port is used by another server then, is there a way my WIX > will detect it so that I can use another port? > > T

Re: [WiX-users] During Uninstall the default website being removed

2009-06-10 Thread Rob Mensching
What is that stuff below? Why are you doing that? sunil bisoyi wrote: > Hi Team, > > i am using latest wix binaries , During Uninstall everything working > fine but the default website being removed, > is there any way to solve this issue. > > > > > 1 > 1 > 1 > 1 > > > >

Re: [WiX-users] Component Id, Guid, file name and upgrade

2009-06-10 Thread Rob Mensching
1. Sometimes it takes more than 10 hours to get back to answering questions on a volunteer project. 2. The Resources in Components can never overlap. Remember Components are identified by their Guid and Resources are identified by their "installation path" (path for files, root/key/name for reg

[WiX-users] Getting Unexpected Error 2856

2009-06-10 Thread MacDiarmid, James D
I'm attempting to rewire my dialogs (previously generated by WixAware) and I'm getting the forementioned error 2856 when clicking the back button on the Custom Setup Dialog. Anyone know what this could be? My custom dialog code follows: OutOfNoRbDiskSpace = 1

[WiX-users] SCRIPTPARSE question

2009-06-10 Thread Scharp, Craig
Hi all, I'm using Wix 3.0 and trying to use SCRIPTPARSE to change database host in my web.config file. For clients using sql server express, I would like @@DBHOST@@ to be changed to localhost\SQLEXPRESS. This works on install except that it is changed to localhost\\SQLEXPRESS (two \\'s ). I

Re: [WiX-users] patch GUI

2009-06-10 Thread shibo
Rob, Thanks for the confirmation that there is no build-in GUI support patch. How can I customize patch to have GUI to display license agreement and release notes? If possible, any guide/tutorial/reference available? Thanks, Shibo -- View this message in context: http://n2.nabble.com/patch-G

[WiX-users] Fwd: During Uninstall Remove Default website instade of Actual website

2009-06-10 Thread sunil bisoyi
FYI -- Forwarded message -- From: sunil bisoyi Date: Wed, Jun 10, 2009 at 5:22 PM Subject: During Uninstall Remove Default website instade of Actual website To: wix-d...@lists.sourceforge.net Hi i have created a new Website named as MyWebsite on IIS6 using installer, when i uni

Re: [WiX-users] Action not found: WelcomeDlg error

2009-06-10 Thread Bob Arnson
sandun css wrote: > DEBUG: Error 2726: Action not found: WelcomeDlg > It means something is looking for a custom action or dialog that's not in your .msi. What's the context of this message? -- sig://boB http://joyofsetup.com/ -

Re: [WiX-users] Installer not "Downgrading"

2009-06-10 Thread Bob Arnson
Rahul Ranjit wrote: > different environments. For example we might have version x.y.1.0 in the > environment1 and x.y.4.0 in the environment2. Our application detects which > environment we connect to and installs the appropriate version. If there is > an existing installation it is removed and

Re: [WiX-users] Light and temp files

2009-06-10 Thread Bob Arnson
md5hans wrote: > Does anyone know where light creates it's temp files during the creation of > the msi-file? Is there a way to modify this? > The help output from light.exe ends with: Environment variables: WIX_TEMP overrides the temporary directory used for cab creation, msm exploding,

Re: [WiX-users] UAC dialog poping up

2009-06-10 Thread Bob Arnson
sandun css wrote: > Thanks for the reply. But I need to install it as admin. :( > Then UAC will kick in just before MSI starts machine modifications. -- sig://boB http://joyofsetup.com/ -- Crystal Reports - New Fre

[WiX-users] Inconsistent modification date time of Patched Binary on different timezone.

2009-06-10 Thread varun kataria
Hi All,   I am creating a  basic patch on a basic msi and when i install this patch on two different machines with different timezone, the patched binary modification date time is same . Means the modification date time of the binary does not change according to the different timezone on the in

[WiX-users] Action not found: WelcomeDlg error

2009-06-10 Thread sandun css
Hi, I install my msi using the following command. msiexec /i installer.msi /l test.log The installation was successful, but I found the following entry in the log file. DEBUG: Error 2726: Action not found: WelcomeDlg The installer has encountered an unexpected error installing this package. Th

[WiX-users] Need sample WIX installer from VDPROJ installer

2009-06-10 Thread Srinivas Gali
Hi All, I am trying to create WIX installer from VDPROJ installer, please help me with samples Regards, Srinivas CAUTION - Disclaimer * This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are no

[WiX-users] Light and temp files

2009-06-10 Thread md5hans
Hi! Does anyone know where light creates it's temp files during the creation of the msi-file? Is there a way to modify this? The reason for my question is that we are running WIX on a computer where the write permission is vere restricted We are using WIX 3.0.2925.0 Kind regards Hans -- Vie

Re: [WiX-users] Leaving certain files out of a patch.

2009-06-10 Thread Peter Shirtcliffe
Im not aware of a way to select files to be excluded rather than included. However, if you do as you suggest and put ComponentRefs (or CustomactionRefs or PropertyRefs etc) into a PatchFamily then only those things will be included in the patch. Have a look at this comment on Peter Marcu's very us

Re: [WiX-users] How to handle this situation?

2009-06-10 Thread Jiang, Chunyan (GE Healthcare)
Hi Rob, You are totally right. I created "component2", but forgot to add ComponentRef in Feature. In the beginning I used Visual Studio to write and compile Wix project. Two days ago, I found WixEdit, one GUI tool to edit Wix project. It is a good tool. But there is no tutorial or help document

[WiX-users] Installer not "Downgrading"

2009-06-10 Thread Rahul Ranjit
Hi, Background: We have a scenario where we maintain different versions of the same application in different environments. For example we might have version x.y.1.0 in the environment1 and x.y.4.0 in the environment2. Our application detects which environment we connect to and installs the appr

Re: [WiX-users] UAC dialog poping up

2009-06-10 Thread sandun css
Thanks for the reply. But I need to install it as admin. :( On Wed, Jun 10, 2009 at 11:01 AM, Brian Rogers wrote: > Hey Sandun, > > The other way around. > > http://wix.sourceforge.net/manual-wix3/wix_xsd_package.htm > > > You also need to make sure you don't have anything that is causing the UA