[WiX-users] Creating shortcut using IWshRuntimeLibrary from custom action fails with unable to find dll
Hi, I have written a custom action in c# which creates shortcut to an executable using WshShellClass of IWshRuntimeLibrary. I have referrenced Interop.IWshRuntimeLibrary.dll in my custom action project. But execution of custom action fails with unable to find this dll. How we can make that dll available to custom action being executed? -- Sainath -- Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] create permanent folder in My Documents but remove its registry key
Hi all, I am completely new to WIX and to the Windows Installer in general and I have a question that probably just shows how much of a noob I am. I would like the installer to create a folder in My Documents and this folder will be used by the users to save and store their own files. So I would like this folder not to be removed on uninstall. I have achieved this setting Permanent=yes, and so far so good. However, I had also to add a RegistryValue because it is not possible to add a folder to PersonalFolder without it (otherwise I get ICE38). Now, I would like the uninstaller to leave the folder and its content untouched but I would like it to remove the registry key. Is that possible? Is that plain wrong? Thanks in advance for your help. Giuliano -- Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Burn, ManagedBootstrapperApplication, SQL and Custom Detection
On 10-Dec-11 13:43, Roy Chastain wrote: Is there a mechanism to employ a custom detection in the Burn ManagedBootstrapperApplication that would affect the install/no install status of an ExePackage? OnPlanPackageBegin lets you change the request state. -- sig://boB http://joyofsetup.com/ -- Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Can't use property expansion in Control-Publish
On 08-Dec-11 02:09, Nevskiy, Alexander wrote: On executing light.exe I got the following error: error LGHT0094 : Unresolved reference to symbol 'CustomAction:[CustomSerialValidateProp]' in section 'Product:{3E8964C7-5FA5-4740-A3D6-191E2043963C}' According to http://msdn.microsoft.com/en-us/library/windows/desktop/aa368037(v=vs.85).aspx the argument field has type Formatted, so using property value should be allowed. Is this a bug in WiX or I have error in my wxs? Please file a bug; it should be possible (assuming MSI actually supports it). -- sig://boB http://joyofsetup.com/ -- Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Building Burn
On 07-Dec-11 16:19, Brad Wildenborg wrote: and am using NAnt 0.91. I'm mostly just after getting access to the Burn utility, so if anyone could help me get it built or link to where I could download a prebuilt version, that would be wonderful. It's part of every WiX v3.6 build: x86\burn.exe. http://wix.codeplex.com/releases/view/75656 -- sig://boB http://joyofsetup.com/ -- Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Admin access for ICEs and NIT
On 06-Dec-11 12:35, Gary Gocek wrote: Is it correct to say that if LIGHT is allowed to run the internal consistency evaluators (ICEs, light runs them by default), and if NIT is used to run unit tests, that the account performing these actions requires admin rights? (WIX 3.5, Windows Server 2008 R2.) No. A normal user can run Light, Nit, Smoke, et al. However, a service user requires additional permissions; the easiest way to make it work is to make the service user an admin. -- sig://boB http://joyofsetup.com/ -- Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Wix Uninstall - MaintenanceTypeDlg, VerifyReadyDlg Dialog sequence is Shown Twice
On 07-Dec-11 11:29, Robert Hermann wrote: Anybody have any ideas Use Orca to look at the ControlEvent table. -- sig://boB http://joyofsetup.com/ -- Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Detect VC++ runtime version on target system
The WiX help recommends to deploy the Visual C++ runtime using merge modules. I refer to section How To: Install the Visual C++ Redistributable with your installer. While this is possible, I don't want to include the MSM in every MSI I will generate. Instead I prefer to add this to the bootstrapper with Votive and MSBuild. But this would allow installing a C++ program that might will not run, when the bootstrapper is not used but the MSI is ran directly. Therefore I would like to check if the required version of the C++ run time is installed on the target system. This could be done with a RegistrySearch. But this allows only accessing registry values. I would like to do something like this: Property Id=VC80_CRT_762 RegistrySearch Id=Vc80_Crt_762 Root=HKLM Key=SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Installations\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.762_x-ww_e889b656\downlevel_manifest.8.0.50727.4407 Name=? Type=raw / /Property Condition Message=This application needs a newer version of the VC++ run time. ![CDATA[Installed OR VC80_CRT_76]] /Condition How can the condition distinguish between an empty default value and key not in registry? How can this test achieved? What is the best way to check that the required or a newer version of the VC++ runtime is installed? Regards, Helge -- Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] How to handle restarts in burn required by dependencies?
I have two restart situations that do not work. 1) - On Windows 7, .NET framework requires a reboot. (Interestingly it does not on XP.) I must do that reboot, because I have managed code that is used later in the install sequence to check if one of the dependencies is installed. I have set the ExePackage/@Protocol to netfx4 as suggest by Rob in a response to someone else about restarts, but when say yes to the reboot question in the .net framework installer, Win 7 will not shut down because the Burn produced bootstrapper is preventing the shutdown. A cancel of the shutdown results in an Error in the bootstrapper. A manual reboot works at this point, but the bootstrapper does not auto restart. 2) - Installing Installer 4.5 on Windows XP. The installer requests a restart and somehow, the bootstrapper prevents it from running and restarts the install segment, which proceeds until SQL says, it cannot continue until the system restarts. Answering that restart as yes, forces an error back to the bootstrapper, but again does not restart the system. All chained ExePackage dependencies are marked as PerMachine=yes The PackageGroup for the .NET framework is below. PackageGroup Id=Netfx4Full ExePackage Id=Netfx4Full Protocol=netfx4 Cache=no Compressed=no PerMachine=yes Permanent=yes Vital=yes SourceFile=C:\EntireOne\Bootstrapper\Packages\DotNetFX40\dotNetFx40_Ful l_x86_x64.exe DownloadUrl=http://go.microsoft.com/fwlink/?LinkId=164193; DetectCondition=Netfx4FullVersion AND (NOT VersionNT64 OR Netfx4x64FullVersion) / /PackageGroup -- Roy Chastain -- Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users