Re: [WiX-users] Running PowerShell script...

2013-03-05 Thread StevenOgilvie
Why is it that I can run the script in a dos box I.e. powershell.exe .\registerlicense.ps1 and it works __ Steven Ogilvie Sent from my BlackBerry... 3 - 45 Bertrand Street Ottawa, ON Canada K1M 1Y5 Mobile: +1 613 299-2121 E-mail: sogil...@msn.com -Original Message

Re: [WiX-users] Running PowerShell script...

2013-03-05 Thread Castro, Edwin G. (Hillsboro)
Here's the bit that's important: CAQuietExec: Import-Module : Could not load file or assembly 'file:///C:\Program Files\MYCORP CAQuietExec: \MYCORP Services\Common\NServiceBus.Core.dll' or one of its dependencies. This a CAQuietExec: ssembly is built by a runtime newer than the currently load

Re: [WiX-users] Burn usage...

2013-03-05 Thread Rob Mensching
If you are going to do lots of customization, you'll want your own BA. PS: It's up to Neil if he wants to contribute the code to the WiX toolset. He's started the process, there are some good discussions on wix-devs. On Tue, Mar 5, 2013 at 11:46 AM, Steven Ogilvie wrote: > Classification: Publi

Re: [WiX-users] Noobie Help

2013-03-05 Thread Jack Sojourn
Thanks Jacob. You wouldn't have any example code or sample wxs file would you? On Tue, Mar 5, 2013 at 2:35 PM, Hoover, Jacob wrote: > Skip the merge module, use burn, and add the two redistributables as > prerequisites. Make the x64 specific redistributable, give it an > InstallCondition of Ver

[WiX-users] Running PowerShell script...

2013-03-05 Thread StevenOgilvie
Hi guys I have googled and done everything I think I should have done but I am getting a funky error in the MSI log file, has anyone else had this issue, if so how did you fix it? Install the Powershell file Set the custom action CA: Installing NServiceBus

Re: [WiX-users] Burn usage...

2013-03-05 Thread Steven Ogilvie
Classification: Public Stupid question... Could I use a "parent burn" and have 3 check boxes that launch a burn (bootstrapper) exe? So parent exe that launches 3 children exe based on check box selection? Not pretty but a workaround? Steve -Original Message- From: Neil Sleightholm

Re: [WiX-users] Noobie Help

2013-03-05 Thread Hoover, Jacob
Skip the merge module, use burn, and add the two redistributables as prerequisites. Make the x64 specific redistributable, give it an InstallCondition of VersionNT64 and a DetectCondition based on a variable you define with a search. -Original Message- From: Jack Sojourn [mailto:jack.

Re: [WiX-users] Execute a custom action only on uninstall?

2013-03-05 Thread Steven Ogilvie
Classification: Public You use the install sequence to set up your custom actions... So let's say I have custom action 1 which does something during install: CA: Setting a property... NOT Installed Now let's do something for uninstall: CA: Delete some file... [InstallExe

Re: [WiX-users] Copy file where source and Destination same

2013-03-05 Thread chennam
Hi Wyrdfish, I have saved the INSTALLOCATION property value as shown below and Uninstall works fine. But Same Network issue error is coming while doing Major Upgrade. And [INSTALLOCATION] property value is not getting saved during when "RemoveExistingProducts " action gets started. And also please

[WiX-users] Execute a custom action only on uninstall?

2013-03-05 Thread Vern Graner
I've had such good luck lately with Q&A here I figure I might as well throw out another one! ;) So, as I mentioned before, I have a custom action that is performed at the end of my MSI install. I would like to find a way to invoke a different script file via a different CustomAction to be run a

[WiX-users] Noobie Help

2013-03-05 Thread Jack Sojourn
Hello...I am new to wix and installation programming in general. I have a pretty simple setup requirement but am not sure how to do it. My first hurdle is the redist install. I know I should use the "Merge Id" and Microsoft_VC100_ATL_x86.msm or Microsoft_VC100_ATL_x64.msm. However what I need t

Re: [WiX-users] Burn usage...

2013-03-05 Thread Neil Sleightholm
I am afraid not, I tried but couldn't get burn to play ball - I think "Change" has to work in a particular way and I never figured it out. I ran out of time for my application and had to implement it outside the install. Neil -Original Message- From: Steven Ogilvie [mailto:steven.ogil..

Re: [WiX-users] Burn usage...

2013-03-05 Thread Steven Ogilvie
Classification: Public Neil, Good points thanks! I am presuming your Extended BA extension handles that? Rob, be nice to use Neil's BA or add it for 3.8 :) Thanks, Steve -Original Message- From: Neil Sleightholm [mailto:n...@x2systems.com] Sent: March-05-13 12:16 PM To: General dis

Re: [WiX-users] Burn usage...

2013-03-05 Thread Neil Sleightholm
Regarding point 1. I would point out that the standard burn BA does not support "Change" out of the box so if you run the install again you only get repair/uninstall. You indicated that you wanted radio buttons to select one of 3 applications, which would imply change from one install to anoth

[WiX-users] Setting Command Line Property & UPGRADE Errors.

2013-03-05 Thread chennam
HI all I am passing the Installation folder location [INSTALLFOLDER] from command line and using the [INSTALLFOLDER] for copyfile. The problem I am getting now during upgrade is "Network search error" for one of the property "DestFilesFolder" whose value is set as below.I am not getting this same

Re: [WiX-users] C++ custom actions

2013-03-05 Thread David Watson
Looks like you would call GetDriveType in kernel32 and see if you get DRIVE_NO_ROOT_DIR http://msdn.microsoft.com/en-gb/library/windows/desktop/aa364939(v=vs.85).asp x -Original Message- From: Steven Ogilvie [mailto:steven.ogil...@titus.com] Sent: 05 March 2013 16:13 To: General discuss

Re: [WiX-users] C++ custom actions

2013-03-05 Thread Steven Ogilvie
Classification: Public Is that not working for you? What does the MSI log file report? Make sure you turn on MSI logging: http://support.microsoft.com/kb/223300 did you look at that C# link? You can use the logic there as well Steve -Original Message- From: chintala srinivas [mailto:

Re: [WiX-users] C++ custom actions

2013-03-05 Thread chintala srinivas
Hi Steven, Thank you, As per client requirement I supposed to convert custom actions from C# to C++. The below is C# customaction which I used previously, [CustomAction] public static ActionResult SetPROP(Session session) { try { DriveInfo

Re: [WiX-users] C++ custom actions

2013-03-05 Thread Steven Ogilvie
Classification: Public Why use C++ use C# :) Here is an example: http://stackoverflow.com/questions/7222782/how-to-get-the-drive-letter-from-a-full-name-of-the-drive Here are two functions I use to GET or SET a windows installer property in C# /// /// Sets a windows installer proper

[WiX-users] C++ custom actions

2013-03-05 Thread chintala srinivas
Hi, I am very new to th C++ customaction. Can any one help me on how to write C++ custom action for finding disk(D:\) is avilable or not. If not then assign c:\ to the property. Regards, Srinivas. -- Everyone hates slow w

Re: [WiX-users] Burn usage...

2013-03-05 Thread Rob Mensching
You can use Burn to Bundle all your packages into one executable experience yes. 1. Yes, you can go back and do Install, Repair, Uninstall operations to the same Bundle by launching it again. 2. One Bundle gets one ARP entry. You could use Addon Related Bundles to have separate Bundles that are i

[WiX-users] Burn usage...

2013-03-05 Thread StevenOgilvie
Hi folks, Is it possible to use burn like an autorun? i.e. I have 3 products, 1 is a server application, the other is the server application (without any UI), the other is a client application. By using Radial buttons, can I let the user choose which application to install? 1. would they be able

Re: [WiX-users] Create a Virtual Directory under a Web Application using WIX

2013-03-05 Thread Steven Ogilvie
Classification: Public Hey Javito, Check out the xmlns:iis="http://schemas.microsoft.com/wix/IIsExtension"; extension... Steve -Original Message- From: Javito Hertfy [mailto:javier.hertfel...@tgw-group.com] Sent: March-05-13 9:05 AM To: wix-users@lists.sourceforge.net Subject: [WiX-u

[WiX-users] Create a Virtual Directory under a Web Application using WIX

2013-03-05 Thread Javito Hertfy
Hi, I would like to add a Virtual directory to my Web Application that points to a certain folder outside the TARGETDIR, any idea or example of how could I achieve this with WIX? Thanks in advance. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com