Re: [WiX-users] Launching an application at the end of Install (usingWIX V2)

2009-02-26 Thread Yan Sklyarenko
Take a look at this chapter in this tutorial: http://www.tramontana.co.hu/wix/lesson8.php#8.6 -- Yan -Original Message- From: Naresh Jain [mailto:naresh.j...@microsoft.com] Sent: Thursday, February 26, 2009 8:05 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Launching an

Re: [WiX-users] Adding to the FilesInUse Dialog

2009-02-26 Thread Kamil Mierzejewski
It is only possible under Windows Vista. details in my comment here: http://sourceforge.net/tracker/?func=detailatid=642717aid=1989218group_id=105970 W dniu 2009-02-26 01:41, Dan Giambalvo pisze: I'm trying to figure out how to add to my installer's FilesInUse dialog. My Installer contains a

Re: [WiX-users] Delete folders

2009-02-26 Thread Yan Sklyarenko
Something like this. You can iterate your paths to remove and generate appropriate elements (C#): //RemoveFile element XmlElement removeFileElement = document.CreateElement(RemoveFile); removeFileElement.SetAttribute(Id, propertyId + _FILES); removeFileElement.SetAttribute(Name, *.*);

Re: [WiX-users] WixUI_Mondo and Custom Dialog/s.

2009-02-26 Thread Neil Sleightholm
This should help: http://neilsleightholm.blogspot.com/2008/08/customised-uis-for-wix.html http://neilsleightholm.blogspot.com/2008/08/customised-uis-for-wix.html Neil Neil Sleightholm X2 Systems Limited n...@x2systems.com mailto:n...@x2systems.com From:

[WiX-users] GenerateBootstrapper : setup.exe is unable to locate application file

2009-02-26 Thread Bob Lim
Hi guys, My msi is in the same folder as the setup.exe. And the path specified by the setup.exe error message is correct and is the same path as the msi. Why it is unable to locate my msi? I am using 3.0.5020.0 after 3.0.4721.0 bootstrapper failed to work in the same way. My

Re: [WiX-users] Re-ordered cab files

2009-02-26 Thread Gareth
I've compared the wixobj files from before I added the files and now - the only difference is the addition of the files... the declarations of the effected files in the effected cab are unchanged, so I don't see what can be edited to prevent this from happening :-( Thomas S. Trias wrote: It

Re: [WiX-users] GenerateBootstrapper : setup.exe is unable to locate application file

2009-02-26 Thread Simon Dahlbacka
I seem to remember that you'll want to use something like $(TargetFileName) instead of $(TargetPath) to avoid having the full path embedded inside the bootstrapper /Simon On Thu, Feb 26, 2009 at 12:56 PM, Bob Lim cbasic...@yahoo.com.sg wrote: Hi guys, My msi is in the same folder as the

Re: [WiX-users] Installer for an WebProject

2009-02-26 Thread Bahn Thomas
I dont have a ComponentGroup in my generated file. To harvest the directory i call heat dir C:\Publish -out raw.wxs. The version of heat.exe is 3.0.4805.0 Did i make a mistake in the call of heat.exe? Von: Yan Sklyarenko [...@sitecore.net] Gesendet:

Re: [WiX-users] Installer for an WebProject

2009-02-26 Thread Yan Sklyarenko
Try using -sfrag switch. And you can run heat /? For more info about it. -- Yan -Original Message- From: Bahn Thomas [mailto:thomas.b...@cic-group.eu] Sent: Thursday, February 26, 2009 3:45 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Installer

[WiX-users] SUPPORTDIR for WIX

2009-02-26 Thread akash bhatia
Hi, i am a newbie in Wix and is using Wix 3.0 toolset currently. before, i was using installshield for creating installers. i was wondering do we have some concept in Wix like SUPPORTDIR in Installshield. Below is what i have thought as a solution to the above:- Means, if we dont have one,

[WiX-users] Uninstallation failing on 64bit windows 2008 server

2009-02-26 Thread Hukumchand Shah
Hi All, I am executing batch file using custom action which removes the extra folders during uninstallation. But it's not executing the custom action. The code is as follows: CustomAction Id=UninstallAct Property=SCRIPTBAT ExeCommand= Return=ignore / InstallExecuteSequence !-- Only run

[WiX-users] Question about dynamically defining a version var

2009-02-26 Thread Reggie Burnett
I want my installer wix project to retrieve the version # of a built assembly and then use that for the version in the installer. I am using preprocessor variables in my wix code and that all works great if I use the command line. In my installer msbuild project I have the following target

Re: [WiX-users] Question about including large number of modified files...

2009-02-26 Thread Curtis Jewell
What I'm doing in a situation much like that is using an interpreted language to generate my .wxs files... That way, I have control over how the GUID's are generated. I have to admit I use Perl to do it, but you could do it in another language, as long as it can generate type 4 GUIDs (the ones

[WiX-users] COM Registration - schema problem?

2009-02-26 Thread Maciej Oszutowski
Hi, I'm in the long way of converting tons of InstallShield projects to WIX last days. Usually I use dark on compiled merge modules and do some cleanup manually. In most cases this is enough. Few days ago I found a component which has been correctly decompiled from msm, but source generated by

Re: [WiX-users] Question about dynamically defining a version var

2009-02-26 Thread Bob Arnson
Reggie Burnett wrote: By using the warning element I can see that my RetrieveIdentities target is running. I'm trying to use my version property here PropertyGroup DefineConstantsVersion=$(CurrentVersion)/DefineConstants WixVariables/WixVariables /PropertyGroup But this

Re: [WiX-users] ICE33 warning and creating class table

2009-02-26 Thread Bob Arnson
Sudripta Nandy (Sarangsoft Corporation) wrote: Though, the components are registering properly; I don't see any 'Class' table in Orca. WiX generates Class table rows only if the Class/@Advertised attribute is yes. -- sig://boB http://joyofsetup.com/

Re: [WiX-users] Question about including large number of modified files...

2009-02-26 Thread Bob Arnson
Tabmow wrote: Can i confirm one thing with you guys: if i do this, RemoveExistingProducts will still work to get rid of the previously installed version irregardless of whether the 'changed' files have different GUIDs in the new installer, right? Yes, though there are some bugs around

Re: [WiX-users] GenerateBootstrapper : setup.exe is unable to locate application file

2009-02-26 Thread Bob Arnson
Bob Lim wrote: I am using 3.0.5020.0 after 3.0.4721.0 bootstrapper failed to work in the same way. GenerateBootstrapper isn't a WiX task; it's part of the .NET Framework. -- sig://boB http://joyofsetup.com/ --

[WiX-users] Custom Action on Finish Dialog

2009-02-26 Thread Arun Perregatturv
I am trying to execute this Custom action and its not working. I want the finish dialog to have a checkbox which says do not restart computer. If its unchecked(which is default) then restart the computer. UI UIRef Id=WixUI_Mondo/ Publish Dialog=ExitDialog Control=Finish

Re: [WiX-users] COM Registration - schema problem?

2009-02-26 Thread Maciej Oszutowski
Hi Bob, Candle output: Project.wxs(474): error CNDL0107: Schema validation failed with the following error at line 1, column 67675: The element 'ProgId' in namespace 'http://schemas.microsoft.com/wix/2006/wi' has invalid child element 'ProgId' in namespace

Re: [WiX-users] Custom Action on Finish Dialog

2009-02-26 Thread John Lalande
You should really just use ScheduleReboot and condition it on your checkbox. See the Wix help file for more details. -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the

Re: [WiX-users] Launching an application at the end of Install (usingWIX V2)

2009-02-26 Thread Wilson, Phil
Keep in mind that on UAC systems that allow an over the shoulder install you might find that a non-Administrator gets an Administrator to supply credentials, and the app will launch at the end with Administrator credentials, leaving the non-Administrator with a privileged app running. I believe

[WiX-users] Help required to execute Sql files

2009-02-26 Thread Pankaj Agrawal (Infosys Technologies Ltd)
Hi, I need a help to execute bunch of SQL files which are not part of my WXS / MSI but need to execute them through my MSI during installation. All these SQL files are present at some shared location which is changing on a day to day basis like (addition of new SQL script, deletion or

Re: [WiX-users] Uninstallation failing on 64bit windows 2008 server

2009-02-26 Thread greenaj
Is the MSI a 32 or 64 bit install? greenaj Hukumchand Shah hukum.s...@gmail.com wrote: Hi All, I am executing batch file using custom action which removes the extra folders during uninstallation. But it's not executing the custom action. The code is as follows: CustomAction

Re: [WiX-users] Help required to execute Sql files

2009-02-26 Thread Eitan Behar
Write a C# Custom Action using DTF, and pass it as parameter the folder with the sql scripts. The function then can just use OLEDB or SQLCMD to run the scripts. Eitan -Original Message- From: Pankaj Agrawal (Infosys Technologies Ltd) [mailto:v-pa...@microsoft.com] Sent: Thursday,

Re: [WiX-users] Question about including large number of modified files...

2009-02-26 Thread Bob Arnson
Tabmow wrote: Thanks Bob. We won't be using managed code. Excuse my ignorance, but what is GAC? Global Assembly Cache, where managed assemblies are native SxS assemblies are installed. -- sig://boB http://joyofsetup.com/

Re: [WiX-users] Launching an application at the end of Install (usingWIX V2)

2009-02-26 Thread Bob Arnson
Wilson, Phil wrote: Keep in mind that on UAC systems that allow an over the shoulder install you might find that a non-Administrator gets an Administrator to supply credentials, and the app will launch at the end with Administrator credentials, leaving the non-Administrator with a

[WiX-users] Trying to use Apache Ant with Wix tool with an Extension

2009-02-26 Thread peter clift
Hi Everyone, Can you show me an example of how to pass an wix extension to candle ? I tried this and it didn't work. wix mode=candle -ext WixUtilExtension wixObjDestDir=${app.build} sources refid=app.sources/ /wix

Re: [WiX-users] Question about including large number of modified files...

2009-02-26 Thread Tabmow
Bob Arnson-6 wrote: Tabmow wrote: Thanks Bob. We won't be using managed code. Excuse my ignorance, but what is GAC? Global Assembly Cache, where managed assemblies are native SxS assemblies are installed. ok. Thanks again Bob. -- View this message in context:

Re: [WiX-users] Trying to use Apache Ant with Wix tool with an Extension

2009-02-26 Thread Brian Rogers
Hey Peter, You might want to pass the full path to the extension depending on how the task picks up the location of candle. However, your syntax looks correct. http://wix.sourceforge.net/manual-wix3/extension_usage_introduction.htm Brian Rogers Intelligence removes complexity. - Me

Re: [WiX-users] custom action ExeCommand attribute

2009-02-26 Thread Brian Rogers
Hey Igor, What does the command line value look like inside of the MSI itself? Have you viewed it with Orca ( http://msdn.microsoft.com/en-us/library/aa370557.aspx) yet? Thanks, Brian Rogers Intelligence removes complexity. - Me http://icumove.spaces.live.com On Tue, Feb 24, 2009 at 8:17 AM,

Re: [WiX-users] custom action ExeCommand attribute

2009-02-26 Thread Alexander Shevchuk
There are two issues here. First of all, value provided for ExeCommand attribute is not a valid XML. Remember that ' characters have to be encoded: ExeCommand='-d quot;[INSTALLLOCATION] quot; -f quot; [TempFolder]eclipse.zipquot;' Second, it seems like whatever tool is parsing this XML

Re: [WiX-users] Changing the feature display attribute using a custom action

2009-02-26 Thread Karl Denning
Ok dumb question! I just realized that I should set the features default InstallLevel=0 and condition it to become 1 if the registry key is found. Karl Denning wrote: I have a feature that is hidden by default and does not install. However, if a specific registry key is found, the

Re: [WiX-users] Help required to execute Sql files

2009-02-26 Thread Pankaj Agrawal (Infosys Technologies Ltd)
Thanks Eitan If you have the sample code to do this. Could you please pass me that? Thanks, Pankaj -Original Message- From: Eitan Behar [mailto:ei...@baconao.net] Sent: Thursday, February 26, 2009 1:19 PM To: 'General discussion for Windows Installer XML toolset.' Subject: Re:

[WiX-users] Why cannot use MsiNTProductType value in Condition?

2009-02-26 Thread Alan Sinclair
MSDN says the way to recognize a server version of Windows is to use the MsiNTProductType property. Is there a reason why WiX 2.0.5805.0 will not let me use it in a LaunchCondition, like this? Condition Message=This application is not for Windows Servers VersionNT=500 AND

Re: [WiX-users] Trying to use Apache Ant with Wix tool with an Extension

2009-02-26 Thread Bob Arnson
peter clift wrote: Can you show me an example of how to pass an wix extension to candle ? You probably want to talk to the Ant folks that wrote the task. -- sig://boB http://joyofsetup.com/ -- Open Source

Re: [WiX-users] Why cannot use MsiNTProductType value in Condition?

2009-02-26 Thread Bob Arnson
Alan Sinclair wrote: MSDN says the way to recognize a server version of Windows is to use the MsiNTProductType property. Is there a reason why WiX 2.0.5805.0 will not let me use it in a LaunchCondition, like this? Condition Message=This application is not for Windows Servers

Re: [WiX-users] SqlDatabase with multiple data files?

2009-02-26 Thread Bob Arnson
Joe Colon wrote: do multiple file database creation still unsupported as of today? (2/26/09), build 3.0.5020 The feature request is still open because nobody's volunteered to work on it. -- sig://boB http://joyofsetup.com/

Re: [WiX-users] Why cannot use MsiNTProductType value in Condition?

2009-02-26 Thread Brian Rogers
Hey Alan, You might want to try using one of the following as you are in XML. Condition Message=This application is not for Windows Servers VersionNTgt;=500 AND MsiNTProductTypelt;2 /Condition Condition Message=This application is not for Windows Servers ![CDATA[VersionNT=500

Re: [WiX-users] Custom Action on Finish Dialog

2009-02-26 Thread Brian Rogers
Hey Arun, In addition to what John mentioned, you create an having a batch file that calls shutdown which is not hard rooted. If the user's path points to some other named shutdown.exe your action will fail. I know it sounds unlikely, but it happens. Second, if my memory is correct, once the

Re: [WiX-users] Why cannot use MsiNTProductType value in Condition?

2009-02-26 Thread Alan Sinclair
Thanks Bob and Brian -- I'm still new to XML -Original Message- From: Bob Arnson [mailto:b...@joyofsetup.com] Sent: Thursday, February 26, 2009 5:06 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Why cannot use MsiNTProductType value in Condition?

[WiX-users] WixVariable Usage

2009-02-26 Thread Castro, Edwin (Hillsboro)
What is the difference between !(bind.VariableName) and !(wix.VariableName)? I've seen examples of !(wix.VariableName) usage in WixUI_Advanced.wxs but can't find a reference in the documentation. My gut tells me they are two syntaxes for referencing WixVariable values. Assuming my gut is

[WiX-users] How to execute custom action in the end of a product upgrade rollback

2009-02-26 Thread Joe Osman
I want to run a custom action at the end of a rollback of product upgrade. This custom action will change the logon password of an installed service so it should be executed at the end of the rollback after the service from the previous install is rolled back.

Re: [WiX-users] How to execute custom action in the end of a product upgrade rollback

2009-02-26 Thread Richard
In article 49a75c79.5030...@tait.co.nz, Joe Osman joe.os...@tait.co.nz writes: I want to run a custom action at the end of a rollback of product upgrade. This custom action will change the logon password of an installed service so it should be executed at the end of the rollback

Re: [WiX-users] GenerateBootstrapper : setup.exe is unable to locate application file

2009-02-26 Thread Bob Lim
Hi thanks Simon! Your suggestion worked! Thanks again! Best regards, Bob Lim Try cool new skins, plus more space for friends. Download Singapore Yahoo! Messenger now! http://sg.messenger.yahoo.com -- Open

[WiX-users] Install pre-requisites from server manager features

2009-02-26 Thread sandun css
Hi all, There are few pre-requisites for my application, which will be installed on a Windows server 2008 machine. Most of those pre-requisites are there in the ServerManager features and roles. Is there a way in wix, to verify whether those features are installed, and to install them if not

Re: [WiX-users] MakeSfxCA and project output

2009-02-26 Thread Shawn Dwyer
Has anyone gotten this error when using DTF?SFXCA: Failed to extract to temporary directory. Cabinet error code 11. Has anyone managed to pack a directory using another method? Thanks, Shawn On Thu, Feb 26, 2009 at 12:01 AM, Shawn Dwyer shawn.o.dw...@gmail.comwrote: I think I'm getting close

Re: [WiX-users] Install pre-requisites from server manager features

2009-02-26 Thread Richard Bennett
I'd be curious to find out about this as well... it's a curiosity I've had... if an application depends on a windows component that is part of the windows installer, how do they get installed? I don't know of any pre-requisite msi file that can be put in as part of a bootstrapper... then again,

[WiX-users] Excute an application from wix

2009-02-26 Thread sandun css
Hi, I need to run an application after the user presses the finish button. Is there a simple way to do that, in WiX v3? -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the