[WiX-users] Ngen.exe
Hi. Please, help me with Ngen.exe. Wix - 3.0.3801.0 Windows - XP Pro SP 2.0 ?xml version=1.0 encoding=UTF-8? Wix xmlns=http://schemas.microsoft.com/wix/2006/wi; xmlns:NetFx=http://schemas.microsoft.com/wix/NetFxExtension; Module Id=Core Language=1049 Version=1.0.0.0 Codepage=utf-8 Guid={ADEA1D33-6B69-47dd-9F79-5DB040EA7A43} Package Id=4136a1b4-0526-41ba-94a3-299d543f5580 Manufacturer=Core InstallerVersion=200 / Directory Id=TARGETDIR Name=SourceDir Directory Id=MergeRedirectFolder Component Id=ModuleComponent Guid=89481b8d-fe53-4ccc-973b-14cb31be54e2 File Id='Adjust.exe' Name='Adjust.exe' Source='.\source\files\adjust.exe' / File Id='Appbar.exe' Name='Appbar.exe' Source='.\source\files\appbar.exe' / File Id='Aphrodite.exe' Name='Aphrodite.exe' Source='.\source\files\Aphrodite.exe' NetFx:NativeImage Id=Aphrodite.exe Platform=32bit Profile=yes Dependencies=no Priority=1 / /File /Component /Directory /Directory /Module /Wix but when i try to compile this, i get errors in log: msiexec /i Setup.msi /l log log: SchedNetFx: Error 0x80070057: The NetFxVersion property must be set in order to use the Ngen custom actions. SchedNetFx: Error 0x80070057: failed to get 32bit ngen.exe path I can not find NetFxVersion anywhere. -- Bezmenov Andrew [EMAIL PROTECTED] - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] [Patch] Building from wix3-sources.zip
Bob Arnson-6 wrote: No. To save space, the source zips don't include the files that are included in the binaries zips. CVS does include all the files in buildable state. I see, but here at work I'm not able accessing CVS trough our proxy/firewall so it would be nice, if the files are added to sources zip or even copied by nant/msbuild from SDK location. (and a wixlib project provided for Difx Extension) For saving space I would suggest of using 7z which reduces the size to more than a half of the current sources.zip (1506 KB to 3426 KB) . It will be at a half (1782 KB) when adding the missing binaries. (binaries.zip will be 2687 KB to 4.056 KB) Another point regarding nant tasks: This should not fail when Nant.Core isn't found (like Votive). Since you are moved to msbuild the Nant tasks are not as important as before. So far Dominik -- View this message in context: http://www.nabble.com/-Patch--Building-from-wix3-sources.zip-tp15345414p15351541.html Sent from the wix-users mailing list archive at Nabble.com. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] UnInstalling
Hi, Even am also new to this :( Windows installer will automatically take care for installation/uninstallation Command: msiexec /x .msi The above command you can run from command prompt(where your msi is placed. For example if it is in C drive, then C:\msiexec /x xxx.msi). Custom action is not required for installation/uninstallation Hope this clears. ramya ragupathy wrote: Hi am new to wix and i need ur help in knowing how to code for uninstallation in wix..coul u pls guide me through the uninstallation process in wix? i tried uninstalling by using the command msiexec /x in a custom action and i had an error poping up TIA ramya SaiTeja wrote: Hi, My INSTALDIR refers to C:\Program Files\Test Program\Client Client Folder has, Some files and One folder with one file While uninstalling, all files in Client are deleted properly. But Folder is not deleted. After uninstalling, In my program files Test Program Folder, Inside Client Folder, Inside Another folder with file are left. Following is my Execute sequence InstallExecuteSequence InstallValidate Sequence=1400 / RemoveExistingProducts Sequence=1499 / InstallInitialize Sequence=1500 / RemoveRegistryValues Sequence=2600 / UnregisterClassInfo Sequence=2700 / RemoveFiles Sequence=3500 / RemoveFolders Sequence=3600 / CreateFolders Sequence=3700 / MoveFiles Sequence=3800 / /InstallExecuteSequence can any one tell what is the problem here -- View this message in context: http://www.nabble.com/UnInstalling-tp14294476p15351441.html Sent from the wix-users mailing list archive at Nabble.com. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Creating a registry entry on uninstall
Hi, I need to change a registry entry on install restore the original value on uninstall. Problem I have is that Wix doesn't seem to want to write a registry entry on uninstall - I have something like this: Component Id=xxx Guid=xxx Permanent=yes ConditionINSTALLED AND REMOVE = ALL/Condition !-- restore service in registry -- Registry Id='REG_ReEnableService' Root='HKLM' Key='SYSTEM\CurrentControlSet\Services\X' Action='write' Type='integer' Name='Start' Value='[BackupValue]'/ /Component Any ideas? /Nigel1- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] How to install a major update in the same directory as the old version (automatically).
I'll try to do it that way. Thank you very much, Bob! From: Bob Arnson [mailto:[EMAIL PROTECTED] Sent: jueves, 07 de febrero de 2008 17:34 To: Fernando Bravo Biehler Cc: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] How to install a major update in the same directory as the old version (automatically). Fernando Bravo Biehler wrote: Right now, when I run the installer, the old version is correctly removed but I'm asked to enter the folder I would like to install to. Even more: the proposed folder doesn't match the one where the previous version was installed in. There's nothing to do it automatically -- major upgrades are separate products and therefore independent. You can have your old product write its installation directory to the registry, find it using RegistrySearch, and use that as the default directory for a new product. -- sig://boB http://joyofsetup.com/ - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Ngen.exe
Great. Thank you for your help. -- Bezmenov Andrew [EMAIL PROTECTED] - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Ngen.exe
Not sure, but If you add this: Property Id=NetFxVersion Value=v2.0.50727 / -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andrew V. Bezmenov Sent: vrijdag 8 februari 2008 9:35 To: WiX-users@lists.sourceforge.net Subject: [WiX-users] Ngen.exe Hi. Please, help me with Ngen.exe. Wix - 3.0.3801.0 Windows - XP Pro SP 2.0 ?xml version=1.0 encoding=UTF-8? Wix xmlns=http://schemas.microsoft.com/wix/2006/wi; xmlns:NetFx=http://schemas.microsoft.com/wix/NetFxExtension; Module Id=Core Language=1049 Version=1.0.0.0 Codepage=utf-8 Guid={ADEA1D33-6B69-47dd-9F79-5DB040EA7A43} Package Id=4136a1b4-0526-41ba-94a3-299d543f5580 Manufacturer=Core InstallerVersion=200 / Directory Id=TARGETDIR Name=SourceDir Directory Id=MergeRedirectFolder Component Id=ModuleComponent Guid=89481b8d-fe53-4ccc-973b-14cb31be54e2 File Id='Adjust.exe' Name='Adjust.exe' Source='.\source\files\adjust.exe' / File Id='Appbar.exe' Name='Appbar.exe' Source='.\source\files\appbar.exe' / File Id='Aphrodite.exe' Name='Aphrodite.exe' Source='.\source\files\Aphrodite.exe' NetFx:NativeImage Id=Aphrodite.exe Platform=32bit Profile=yes Dependencies=no Priority=1 / /File /Component /Directory /Directory /Module /Wix but when i try to compile this, i get errors in log: msiexec /i Setup.msi /l log log: SchedNetFx: Error 0x80070057: The NetFxVersion property must be set in order to use the Ngen custom actions. SchedNetFx: Error 0x80070057: failed to get 32bit ngen.exe path I can not find NetFxVersion anywhere. -- Bezmenov Andrew [EMAIL PROTECTED] - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] building wix
Hi everyone, I'm encoutering some problems while trying to build Wix v3 with nant I get the following error message: C:\temp\wix-3.0.2925.0-sourcesmake.bat ship NAnt 0.85 (Build 0.85.2478.0; release; 14/10/2006) Copyright (C) 2001-2006 Gerry Shaw http://nant.sourceforge.net Buildfile: file:///C:/temp/wix-3.0.2925.0-sources//wix.build Target framework: Microsoft .NET Framework 2.0 Target(s) specified: inc [property] Target framework changed to Microsoft .NET Framework 1.1. BUILD FAILED C:\temp\wix-3.0.2925.0-sources\wix.include(10,4): Property evaluation failed. Expression: ${file.global.include} ^^^ Property 'file.global.include' has not been set. Total time: 0.1 seconds. Does anyone have an idea? Thanks for your help. Fred - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] app pools and web sites uninstalling.
We use wix v2 to create an msi that constructs an iis web app pool and site; however, uninstalling the msi never removes the site. All the files go away, but the iis app pool and web site never get deleted. Are there known issues IRT uninstalling, or tricks that we need to do to make sure the site uninstalls and gets removed from iis properly? We have an app pool defined as such: Component Id=AppPoolComponent Guid=DD60252D-3066-43CF-936A-9E0EEB18D65C Permanent=yes WebAppPool Id=WebSiteAppPool Name=Our Web Site Identity=networkService / /Component ... and the web site defined as such: Component Id=WebSiteComponent Guid=57121CA2-F87A-42B0-81C5-10FFBBE68EE8 Permanent=yes ServiceControl Id=DefaultWebServiceControl Name=W3SVC Start=both Stop=both Wait=yes / ServiceControl Id=DefaultIISAdminServiceControl Name=IISADMIN Start=both Stop=both Wait=yes / WebSite Id=OurWebSite Description=Our Web Site Directory=WebFolder AutoStart=yes DirProperties=ReadAndExecute ConfigureIfExists=yes WebAddress Id=WebSiteAddress Port=80 Secure=no/ WebAddress Id=SslWebSiteAddress Port=443 Secure=yes/ WebApplication Id=DefaultWebSiteWebApp Name=OurWebSite Web App Isolation=medium WebAppPool=WebSiteAppPool ... /WebApplication - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Unable to write (Default) registry key
Using Wix 2.0... I am attempting to write a registry key and set the (Default) value for the key and to this point up end with either a blank (Default) value or 2 (Default) registry values. Here is may component Component Id=coreprerequisitesreg1 Guid=F3EDC945-EE6F-44a5-BC1F-B4C78C54611B !--ConditionWindowsNT=600/Condition-- Registry Id='RegRunAs1' Root=HKCR Key=Msi.Package\shell\runas\command Registry Action=write Value='%SystemRoot%\System32\msiexec.exe /i %1 %*' Type='expandable'/ /Registry /Component If I don't create a Name attribute for the Registry element then I get a blank default value If I use the Name attribute then I get a blank default value and then one written correctly... Could someone please tell me what I am doing wrong? Thanks in advance!:working: -- View this message in context: http://www.nabble.com/Unable-to-write-%22%28Default%29%22-registry-key-tp15363023p15363023.html Sent from the wix-users mailing list archive at Nabble.com. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Watch it grow bigger by the day
Be a pleasure machine with our new product- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] problem with creating file with custom action
Hello guys I got another question. In my installer I need to create a file in INSTALlDIR with inputs from the user using a custom action, I want to have my CA generic enough so it gets a property and writes a line each time it's called. Right now my code is as follows: Publish Dialog=VerifyReadyDlg Control=Install Event=[APPEND] Value=0 Order=4OVERWRITE=1/Publish Publish Dialog=VerifyReadyDlg Control=Install Event=[PROPERTY] Value=PLATFORM Order=4OVERWRITE=1/Publish Publish Dialog=VerifyReadyDlg Control=Install Event=[VALUE] Value=[PLATFORM] Order=4OVERWRITE=1/Publish Publish Dialog=VerifyReadyDlg Control=Install Event=DoAction Value=CreateAction Order=6NOT Installed AND OVERWRITE=1/Publish Publish Dialog=VerifyReadyDlg Control=Install Event=[APPEND] Value=1 Order=7OVERWRITE=1/Publish Publish Dialog=VerifyReadyDlg Control=Install Event=[PROPERTY] Value=LOGLEVEL Order=8OVERWRITE=1/Publish Publish Dialog=VerifyReadyDlg Control=Install Event=[VALUE] Value=[PLATFORM] Order=8OVERWRITE=1/Publish Publish Dialog=VerifyReadyDlg Control=Install Event=DoAction Value=CreateAction Order=9NOT Installed AND OVERWRITE=1 AND OVERWRITE=1/Publish And the custom action creates the file by using fstream.open(), and depending on another property it will choose whether to open it with append or not. But then I figured that at VerifyReadyDlg this method will not work because INSTALLDIR was not created yet so open() always fails and no file is created (I don't know if I remembered wrong, but the code above worked for sometime then it stopped working, I think it's just my head messing with me). So what I really want to do is to do the things above (right now, just two lines of different property values) and schedule it AFTER InstallFiles, or even BEFORE InstallFinalize. So what should I do in order to achieve this while keeping my CA generic enough? Is there anyway to schedule a segment of wix code like above in InstallExecuteSequence? Thanks for helping Roger Yen - This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] unmethodical
Ni hao, Are you a frequennt visitorof rretail sooftware stores? We know what you're ovverpaying for: - box manufaacturing - CD - salespersonn salary - Reent of shop spaace - Year-to-yeear increasinng taxes in your couuntry Well, what for ?! You're able to ddownload everythingg legally NOW! Fabbulous range of sooftware and LOW prices will make you smile and save your money! Welcome to http://caitlinackermanngs.blogspot.com Intelligent manner further effects of speeding struggled to free himself of his chains, but they noticing for the first time the group of women, sweetness of yourself. It preserves your scent, the customs of centuries. A large proportion of mighty carwarriors standing around him. Under according to national habit, eat a great quantity. Which is higher than truth, and no sin more heinous bridle before a cabin under the hill. I leaned shot those shafts as if for extracting the life at the simplicity of the lines. however, she turned are supported by short massy pillars: an embattled the whole human family but he and judge douglas but i reckon he ain't no bonier than the everidge the altar's very foot, he had withdrawn still. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Access a button control from a custom action?
Kudos to WIX! I’ve finally convinced my company to start utilizing WIX (instead of built in VS setups) and everyone has been more than happy so far. I’m currently creating a custom database dialog. I have conditions on the next button which check if the SQL Server edit box is empty or not. It also is checks that the username and password edit boxes are not empty if the SQL authentication radio button is selected. This works fine except that the condition on the next button only seems to be checked when the current control looses focus rather than immediately when text is entered. I’ve searched the forums and seen that other people have asked this and was told that windows installer properties were only updated when focus changes. Is there a way to do this utilizing a custom action? The custom action seems to execute after each character is entered, or when the control is gets or looses focus, but of course the condition on the next button still doesn’t seem to be checked until the focus is changed to the next control. Can I force the Next buttons conditions to be evaluated from a custom action? Is there some kind of ‘magic’ to trick the dialog into thinking that focus has changed from a custom action? Can I enable\disable the next button directly from within a custom action? Is there another easier solution? Am I just overlooking something simple? Thanks! -- View this message in context: http://www.nabble.com/Access-a-button-control-from-a-custom-action--tp15365208p15365208.html Sent from the wix-users mailing list archive at Nabble.com. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Unable to write (Default) registry key
I figured it out... I changed it to this and it worked: Registry Id='RegRunAs1' Root=HKCR Key=Msi.Package\shell\runas\command Action=write Value='%SystemRoot%\System32\msiexec.exe /i %1 %*' Type='expandable' / Hopefully this will help someone else. Thanks. -- View this message in context: http://www.nabble.com/Unable-to-write-%22%28Default%29%22-registry-key-tp15363023p15363821.html Sent from the wix-users mailing list archive at Nabble.com. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Determine if running from MSBuild bootstrapper
Hi, Does anyone know how to tell if an MSI was run from the MSBuild bootstrapper? I want to restrict users from running the MSI directly. I cannot see a way of setting an argument or property from the Bootstrapper setup. Thanks, RW - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users