Re: [WiX-users] Multiple source files with MSBuild

2010-10-25 Thread Lars von Wedel
Hello, The use of @Compile passes the whole list of files to the Candle task. The batching is on the output (OutputFile attribute), but IMHO has to be on the inputs as well because each .wxs is compiled into a corresponding .wixobj file. I changed the SourceFiles value to %(Compile.Fullpath)

[WiX-users] SID is not created by AppHostSvc

2010-10-25 Thread vaidya
Hi WixUsers, I install IIS and create application pool by WIX for my site Wix creates Application pool, but corresponding application pool's SID is not created by AppHostSvc. The same issue is not happening if I introduce some time delay after creating IIS. Can I introduce any

[WiX-users] how to use VBscript or c++ function in wix

2010-10-25 Thread sagar shinde
hi, i want to delete folders from installed location which are created by installer i tried it by following vb script i was able to delete folders but it is only possible when we provide the hardcoded folder path ,how can i provide path as argument to vb script or c++ function while calling it

[WiX-users] run time harvesting

2010-10-25 Thread David Amey
Hi all, Does anyone know if it is possible for the msi to install all files, in a given location, without the need to have it pre-harvested with heat? This would mean that I could add files to the folder for install without going through the harvesting-compile-link process again. Would

Re: [WiX-users] Calling a managed custom action from a UI control

2010-10-25 Thread sagar shinde
hi i am trying something similer to this,i want to delete folders at uninstall time,i have one VBscript for that, but how can i set path for that or how ur VBscript is getting path in ur code. how u called ur VBscript from wix installer On Wed, Oct 20, 2010 at 1:06 AM, McKinnon, Chris

[WiX-users] Custom action

2010-10-25 Thread sagar shinde
hi i want to delete folder using custom action,i want this custom action for both 32 bit aswell as 64 bit.The custom action seems working for 32bit installer and failing for 64 bit installer i have separate projects for 32bit and 64bit installer and this is the code for custome action

Re: [WiX-users] how to use VBscript or c++ function in wix

2010-10-25 Thread David Watson
Can you not just use Remove folder? http://wix.sourceforge.net/manual-wix3/wix_xsd_removefolder.htm -Original Message- From: sagar shinde [mailto:sagar.i...@gmail.com] Sent: 25 October 2010 12:31 To: WiX-users@lists.sourceforge.net Subject: [WiX-users] how to use VBscript or c++

Re: [WiX-users] Calling a managed custom action from a UI control

2010-10-25 Thread Albert van Peppen
Hi, I suggest you read the manual, tutorial or the book on WiX or at least look at the online help on MSI. The part about properties should help you well underway. Same for the initial problem Chris has. Or to be in your language: RTFT or RTFM :) Albert van Peppen Senior System Engineer Insad

Re: [WiX-users] A couple of questions regarding sql server and wix installer

2010-10-25 Thread Thomas Due
Hmm, that looks promising. I will look into it, however assuming that I don't want to include any third-party components (not saying that I don't, just assuming), is what I want doable without a lot of work? Thanks, Thomas Due -Original Message- From: dB. [mailto:dbl...@dblock.org]

[WiX-users] Features and installlevel question

2010-10-25 Thread Renegade Angel
Dear group, I have an existing wix script that runs fine, and I had to modify it so it supports Features which can be installed or not using the INSTALLLEVEL property. The installation runs fine, but when I try to uninstall from the Configuration Panel - Software (on WindowsXP), I receive an

Re: [WiX-users] Calling a managed custom action from a UI control

2010-10-25 Thread sagar shinde
hi thanks for reply, but i can not use this removefolder as my installer will create new folders and diffrent files will be created in that folder by user so RemoveFolder will not work in this case is ter any other option thank you. On Mon, Oct 25, 2010 at 6:00 PM, Albert van Peppen

Re: [WiX-users] Calling a managed custom action from a UI control

2010-10-25 Thread Albert van Peppen
Hi, The reason why not to use RemoveFolder might be valid (I wrote my own CA for exactly the same reason) but it doesn't mean that you shouldn't know anything about properties as this is where the problem lies in the VB script as given by Chris. I think this is one of the basic need-to-knows

Re: [WiX-users] Calling a managed custom action from a UI control

2010-10-25 Thread David Watson
Try something like this... DirectoryRef Id=SomeDir Component Id=removeSomeDir Guid=9FFCB64B-796A-4576-8EC3-5E01CBFD75F8 KeyPath=yes !-- remove this folder and empty it on uninstall -- RemoveFolder Id= SomeDir.removeinstallfolder On=uninstall Directory=SomeDir /

Re: [WiX-users] Calling a managed custom action from a UI control

2010-10-25 Thread Albert van Peppen
Hi, This is the simple way which might not always work; When files have a special attribute (like read only, system) or are in use the entire uninstall will fail while the issue can be handled correct in your CA (change attributes, give a message or stop a service that is using a config file or

Re: [WiX-users] UI missing after VerifyReadyDlg

2010-10-25 Thread McKinnon, Chris
Just an update. I'm still trying to track down why I'm not getting the ProgressDlg after clicking the Install button in the VerifyReadyDlg. I've run dark.exe on this version and my previous versions (the UI worked in that one) and don't see any major differences (other than UI I've added) in the

[WiX-users] Setup.exe

2010-10-25 Thread christopher.m.ervin
Hello everyone, I had typically been building with devenv.exe within the Visual Studio IDE. The couple *.vdproj projects I'm working with produced both an MSI and a setup.exe after building. I am attempting to use WIX to build the MSI for automated daily builds right now and have decompiled

[WiX-users] Shortcut Icons showing as generic

2010-10-25 Thread Chad Petersen
When installing my package the icon for normal file shortcuts are initially showing up as generic icons. Once a person double-clicks on a particular one then the icon changes to the correct one. We did not have this issue when compiling using WiX 2.0. In that version the Shortcut table in Orca

Re: [WiX-users] UI missing after VerifyReadyDlg

2010-10-25 Thread McKinnon, Chris
Another update... I've discovered by process of elimination that my custom action calls seem to be causing the problem. I have 3 custom action calls in my UI. All are verifying that a path is valid. The first 2 call the built-in WixUIValidatePath and the last calls a VBScript to verify the

Re: [WiX-users] Shortcut Icons showing as generic

2010-10-25 Thread Chad Petersen
I tried setting Advertise=no and I get these two ICE errors, which is probably what prompted the change during the conversion. error LGHT0204 : ICE43: Component Autotaskconfigexe has non-advertised shortcuts. It should use a registry key under HKCU as its KeyPath, not a file. error LGHT0204 :

[WiX-users] ServiceInstall in a different fragment?

2010-10-25 Thread McKinnon, Chris
Hi, I've separated my WiX installer into multiple fragment files. My windows service is broken into ServiceFiles.wxs and ServiceActions.wxs, for example. I ran into an issue where my service wasn't getting installed because it wasn't in the same component as the executable anymore. Like so: