Re: [WiX-users] seeing if a MSI is running using mutex...

2015-01-27 Thread StevenOgilvie
What is the actual MSI mutex? Thanks Steve From: Phil Wilson [via Windows Installer XML (WiX) toolset] Sent: Tuesday, January 27, 2015 12:59 To: StevenOgilvie Subject: Re: seeing if a MSI is running using mutex... It appears that your CreateMutex isn't passing in the actual MSI mutex

[WiX-users] seeing if a MSI is running using mutex...

2015-01-27 Thread StevenOgilvie
Hi all, Trying to create a method to detect if ANY MSI is running and if so halt bootstrapper... I am doing this in C++ I get a successful mutex, but it always returns ERROR_SUCCESS, what am I doing wrong? thanks Steve HANDLE ghMutex = NULL; LPCWSTR sczVerifyMSIRunningVariableSet = L0; LPWSTR

[WiX-users] Doesn't the Bootstrapper check to see if another instance of itself is running?

2015-01-23 Thread StevenOgilvie
Hi, Just a quick question. Doesn't the Bootstrapper verify that it is not running another instance of itself? i.e. Launch your Installer (Bootstrapper) launch same installer again, two instances are now running... Steve -- View this message in context:

Re: [WiX-users] Windows Updates - either pending or running causes our installs to fail

2015-01-22 Thread StevenOgilvie
thanks David, I am using this to check whether updates are running or reboot required so my installer won't crap out I am thinking I might need to add another check to see if another installer is running (MSI not an update) m = Mutex::OpenExisting( mutexName ); where mutexName would be:

Re: [WiX-users] Confused... when installing a 32/64 bit MSI using 1 product.wxs file [P]

2014-01-27 Thread StevenOgilvie
Blair/Rob is this statement correct: So are you saying I should use: ?if $(sys.BUILDARCH) = x64 ? and NOT ?if $(var.Platform) = x64 ? What about my wixlib where I have 2 files that have a 32 bit version and a 64 bit version what is the proper way to say 32 bit file install on a 32 bit OS and

[WiX-users] Best practice for setting x86/x64 for MSI's and installing files...

2014-01-27 Thread StevenOgilvie
Hi, I didn't get much traction on my question or at least my last question... ALL of my MSI use this format in a variable.wxi files I have: ?if $(var.Platform) = x64 ? ?define Win64=yes ? ?define PlatformProductName = $(var.ProductName) (64 bit) ? ?define PlatformProgramFilesFolder =

[WiX-users] Confused... when installing a 32/64 bit MSI using 1 product.wxs file

2014-01-22 Thread StevenOgilvie
Hello, I use 1 product.wxs file at build time, the project file has different configurations for X86 and X64 which allows me build 2 MSI's one for 32 bit and one for 64 bit. I have used these conditions but which one is correct? ?if $(sys.BUILDARCH) = x64 ? ?define Win=yes ? ?define

[WiX-users] Where in the source does it handle the image control in the bootstrapper?

2013-12-19 Thread StevenOgilvie
Hi guys, I am using 3.7. I am trying to figure out where in the source I can change the behaviour of the Image: Image X=11 Y=11 Width=495 Height=60 ImageFile=Logo.png Visible=yes/ to make it to back so the Title is in front: Text X=80 Y=11 Width=-11 Height=64 FontId=1 Visible=yes

[WiX-users] Help, Custom Action not working in InstallUISequence...

2013-12-15 Thread StevenOgilvie
Hey all, I hope someone can help me out here I am banging my head on this one... A little history, I have a Web Server installer that creates a Web App Pool and a Web Site. I have a Welcome, License, Choose DB, Choose Web Site info etc...pages in my UI In the Web Site info I have an edit box for

Re: [WiX-users] Help, Custom Action not working in InstallUISequence...

2013-12-15 Thread StevenOgilvie
I got it working... (my bad should have googled more) but in case anyone else is having issues here is what i did: CustomAction Id=CA_Upgrade_Apppool.SetProperty Property=$(var.PlatformQtExecCmdLine) Value=quot;[SystemFolder]inetsrv\appcmd.exequot; stop apppool

[WiX-users] Feature based MSI and Boostrapper question...

2013-12-05 Thread StevenOgilvie
Hi all, Quick question… I haven’t set this up yet but would like to know if it is feasible first before doing the work… My application’s MSI has 3 features” 1. Client app 1 2. Client app 2 3. Client app 3 There is a feature tree page so you can select which feature you want to

[WiX-users] Question re WIX other MSI installer tools...

2013-11-15 Thread StevenOgilvie
Hi, I work for a small company and we are using WIX for our Enterprise software. We have a Server application with Services and use a SQL Server database. Our Client Software connects to the Server/Database to get client configuration info via the Services that is also installed with the Client

Re: [WiX-users] Question re WIX other MSI installer tools...

2013-11-15 Thread StevenOgilvie
Burn does NOT allow you to collect information from the user and then pass that information to the MSI's it is a tool to allow you to install pre-requisites and handle your software installer... To create a user experience that collects information it would require a CUSTOM BA... Steve --

[WiX-users] Custom action was working now it isn't.... HELP...

2013-10-31 Thread StevenOgilvie
A different pair of eyes should help... I have a custom action that reads the registry and goes through the SQL Server Instances to get the last instance name (if there are more than one)... Was working like a charm, now for about a week it stopped working and I am getting this error: Action

[WiX-users] Can't compile Install getting ICE30 error...

2013-10-08 Thread StevenOgilvie
Hi guys, I am trying to install 1 file to 2 different locations by using 2 different directory elements, 2 different component elements and 2 different file elements. Before I do this I have a custom action that copies the powershell.exe.config to powershell.exe.config.bak (I try both the

Re: [WiX-users] Can't compile Install getting ICE30 error...

2013-10-08 Thread StevenOgilvie
Solved it... I created a customaction to populate a property with the powershell folder CustomAction Id=CA_Set_PowerShellx86_Path Directory=POWERSHELLX86_DIR Value=[POWERSHELLPATH_X86]/ CustomAction Id=CA_Set_PowerShellx64_Path Directory=POWERSHELLX64_DIR Value=[POWERSHELLPATH_X64]/ I use

[WiX-users] Merge Module question...

2013-09-24 Thread StevenOgilvie
Hi all, I have 6 services merge modules, I have them building for both x86 and x64 (different output paths) all is fine… I have to add 2 SQL Lite files, x86 and x64 to the 6 merge modules (the binaries are built AnyCPU) I decided to use 1 wixlib and condition the 2 files Not Installed and Not

Re: [WiX-users] Merge Module question...

2013-09-24 Thread StevenOgilvie
I have added it back to 1 WIXLIB when I compile it works but I get this error twice for each merge module: Warning 22 ICE30: The target file 'kd1er3dy.dll|SQLite.Interop.dll' might be installed in '[TARGETDIR]\EnterpriseAuditLogService\' by two different conditionalized components on an LFN

Re: [WiX-users] is there a way to set a variable by selecting a different radiobutton in BURN?

2013-08-09 Thread StevenOgilvie
Rob do you have any ideas? -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/is-there-a-way-to-set-a-variable-by-selecting-a-different-radiobutton-in-BURN-tp7587887p7587910.html Sent from the wix-users mailing list archive at Nabble.com.

[WiX-users] Which is being released?

2013-08-09 Thread StevenOgilvie
On the wixtoolset.org web site I see a 3.8 release and a 4.0. When are you going to release 3.8 and what is the release timeframe for 4.0 and what is the difference between the two? thanks, Steve -- View this message in context:

[WiX-users] is there a way to set a variable by selecting a different radiobutton in BURN?

2013-08-08 Thread StevenOgilvie
Hi folks: I have a hyperlink for the EULA (htm file) I am allowing the user to select which server to install i.e. RadioButton1 server RadioButton2 server express RadioButton3 another install is there a way to set a variable based on which radiobutton has been selected? thanks, Steve --

[WiX-users] Need help, how to put a condition on a merge module in Product.wxs

2013-07-29 Thread StevenOgilvie
Hi folks, I have a Services installer that uses 5 merge modules (no I can't go away from merge modules to wixlibs not the way our services install we have 5 different services that install a base of same files for each service in a different directory for each service)... Currently I have to VS

Re: [WiX-users] Need help, how to put a condition on a merge module in Product.wxs

2013-07-29 Thread StevenOgilvie
damn Nabble takes out the condition: for the component to be installed on X86 machine: Condition ! [ CDATA[ NOT(VersionNT64) OR $(var.Platform) = x86 ] ] /Condition for x64 machine: Condition ! [ CDATA[VersionNT64 OR $(var.Platform) = x64 ] ] /Condition -- View this message in

Re: [WiX-users] Need help, how to put a condition on a merge module in Product.wxs

2013-07-29 Thread StevenOgilvie
your saying this is at compile time? I have a variables.wxi include file that I include with my product.wxs ?if $(var.Platform) = x64 ? ?define PlatformProductName = $(var.ProductName) (64 bit) ? ?define PlatformProgramFilesFolder = ProgramFiles64Folder ? ?define PlatformCAQuietExecDLLEntry

[WiX-users] Condition for Upgrading...

2013-05-09 Thread StevenOgilvie
Hi folks, I am confused, I looked within the WIX userlist and Googled this but I seem to have mixed results... I want to run a custom action on an Upgrade only.. I currently have it as: Custom Action=CA_CheckIfServerOnLine After=InstallInitializeNOT Installed AND SERVER_INSTALL=0/Custom But in

[WiX-users] Show session.Message during silent install...

2013-04-24 Thread StevenOgilvie
Stupid question I know... I am using WIX 3.7 and using burn to bootstrap my MSI's Most of my MSI's have no need to show UI, so in Burn i am using: DisplayInternalUI=no I have quite a few DTF Custom Actions, and I am using: Most are Message failures in try catch exception: catch (Exception ex)

Re: [WiX-users] Burn command line parameters

2013-04-16 Thread StevenOgilvie
I am trying the same thing and I don't understand your response :( I am doing MyBurnEXE.exe MYVAR=Something Then in the MSIPackage: MsiPackage Id=MainInstall DisplayName=$(var.ProductName) SourceFile=$(var.OutDir)MyMSI.msi

Re: [WiX-users] Assigning property value

2013-04-09 Thread StevenOgilvie
Ravi, I believe the issue is that you haven’t assigned a default value for the radio buttons? Here is what I have and using for detecting which type of authentication I should use, Windows Authentication or SQL Server: Control Id=AuthenticationradioButtonGroupBox Type=RadioButtonGroup Height=44

[WiX-users] Upgrades...

2013-04-02 Thread StevenOgilvie
Hi folks, I have a few installers that I am writing in WIX 3.7 I was just using: MajorUpgrade Schedule=afterInstallValidate AllowDowngrades=no DowngradeErrorMessage=A newer version of $(var.PlatformProductName) is already installed. Setup will now exit. / To handle upgrades (uninstall older

Re: [WiX-users] Upgrades...

2013-04-02 Thread StevenOgilvie
) toolset] Sent: Tuesday, April 2, 2013 09:33 PM To: StevenOgilvie Subject: Re: Upgrades... That's just setting a bunch of properties. If you don't use the properties, you don't need all that. MajorUpgrade element is all you need (plus change Product/@Id and do not change Product/@UpgradeCode

[WiX-users] Adding a new page to the bootstrapper...

2013-03-27 Thread StevenOgilvie
Hi all, I am wondering if anyone has added a new page to the bootstrapper? What I want to do is have the Welcome page (my welcome page has two radio buttons to select the install they want to launch), click Next, which goes to a 2nd page that describes what pre-requisites will be installed if

Re: [WiX-users] Any ideas on how to solve MessageBox focus, can be lost (using Custom Action DLL)

2013-03-14 Thread StevenOgilvie
Solved :) Using this: catch (Exception ex) { WriteErrorLogInstall(session, Method failed: , ex, true); if (session != null) { session.Message( InstallMessage.User + (int)MessageBoxIcon.Error

Re: [WiX-users] Using Property's values in Messages

2013-03-14 Thread StevenOgilvie
You can do it various ways, the easiest way is to let QA see the value in the MSI log file, in your product WXS file add: Property Id=MsiLogging Value=voicewarmupx/ after the install is done in your %temp% folder will be a MSI log file, look for the property name and its value will be recorded...

[WiX-users] Any ideas on how to solve MessageBox focus, can be lost (using Custom Action DLL)

2013-03-13 Thread StevenOgilvie
Hi all, I have a Custom Action DLL (C#) Within the Welcome page to the ready to install page I have been able to populate a MSI Property for any error messages/exceptions that are caused by the Custom Action calls.. i.e. At beginning of the Custom Action method: SetSessionProperty(session,

[WiX-users] Using Burn/bootstrapper....

2013-03-08 Thread StevenOgilvie
Hi guys, Using Burn aka the bootstrapper is their a way to show the user what software will be installed? i.e. create a new page before the Progress page to display what pre requesites will be installed and what our company software is going to be installed? thanks, Steve -- View this

[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

[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 Component Id=cmp_RegisterNServiceBusLicense Guid={276C369D-BF32-472F-A7FC-24155DEB18DE}

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

2013-03-05 Thread StevenOgilvie
: 503-617-0291 www.fiserv.com -Original Message- From: StevenOgilvie [mailto:[hidden email] /user/SendEmail.jtp?type=nodenode=7584125i=0 ] Sent: Tuesday, March 05, 2013 2:14 PM To: [hidden email] /user/SendEmail.jtp?type=nodenode=7584125i=1 Subject: [WiX-users] Running

[WiX-users] How do you turn off REPAIR in the boostrapper in ARP or Programs and Features?

2013-02-14 Thread StevenOgilvie
Hello, I have noticed that the DisableRepair=yes in the Bundle element in the bootstrapper doesn't work. How do you turn off repair in the bootstrapper? Thanks, Steve -- View this message in context:

[WiX-users] TopBanner bitmap looks lower resolution

2013-02-07 Thread StevenOgilvie
Hi folks, I am using WIX 3.7... I have replaced the default BMP for our companies version: WixVariable Overridable=yes Id='WixUIBannerBmp' Value=$(var.resourcePath)\TMCTopBanner.bmp/ and WixVariable Overridable=yes Id='WixUIDialogBmp' Value=$(var.resourcePath)\TMCSide.bmp/ I am using Windows 7

[WiX-users] Reference wixlibs in two different Features...

2013-02-04 Thread StevenOgilvie
I have two features that reference the same WixLibs but use two different folders... Feature Id=Feature_Admin Title=MyCorp Admin Console Level=1 Display=expand ConfigurableDirectory=INSTALLFOLDER ComponentRef Id=blah/

Re: [WiX-users] Reference wixlibs in two different Features...

2013-02-04 Thread StevenOgilvie
SORRY IGNORE THIS QUESTION... -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Reference-wixlibs-in-two-different-Features-tp7583361p7583362.html Sent from the wix-users mailing list archive at Nabble.com.

[WiX-users] FYI Building 64 bit MSI and getting LGHT0204: ICE80: This 32BitComponent component uses 64BitDirectory WixLibRedirectFolder error

2013-02-01 Thread StevenOgilvie
I have 2 32 bit installs and 2 64 bit installs (same but different OS bit) the 32 bit installers are fine... However the 64 bit installers were giving the the LGHT0204: ICE80 errors, and it took me a while to figure out what I had changed to cause this... So use this as a FYI I have Merge

[WiX-users] When doing a REPAIR, all files are going into 1 folder instead of the specific folders...

2013-01-30 Thread StevenOgilvie
Really need some help with this! thanks, Steve -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Weird-Repair-happening-tp7583229p7583272.html Sent from the wix-users mailing list archive at Nabble.com.

[WiX-users] Weird Repair happening...

2013-01-29 Thread StevenOgilvie
I have installed my product and it works like a charm... I have modified my install to work with Repair since I have a lot of custom actions and 5 merge modules. When I run repair all is good EXCEPT all files are being installed in 1 folder I have 5 folders: C:\Program Files\MYCORP\MYCORP

[WiX-users] Weird UI happening in MSI when I remove the checkbox element on Finish dialog

2013-01-24 Thread StevenOgilvie
Hello, I added the check box to launch the app (URL) on the Finish dialog: This is in the PRODUCT.WXS, however I want to remove it from the Finish dialog in the MSI and add the Launch button in Burn 3.7 (I install our Server MSI, then install our Services MSI, the check box is in the first MSI, if

Re: [WiX-users] Weird UI happening in MSI when I remove the checkbox element on Finish dialog

2013-01-24 Thread StevenOgilvie
oops sorry I don't comment OUT this line it is needed: Publish Dialog=ExitDialog Control=Finish Event=EndDialog Value=Return Order=9991/Publish -- View this message in context:

[WiX-users] Burn question, how can force /norestart on my pre requisite MSI's?

2013-01-24 Thread StevenOgilvie
I have 6 pre requisite MSI's then my 2 product MSI's... I want to ensure that the pre req's don't want to reboot so the rest of the MSI's fail... here is the scenario, I have my product installed, you goto ARP or PF and click uninstall, burn comes up and I click on Repair... One of the pre

[WiX-users] Burn InstallCondition not working when it used to :(

2013-01-22 Thread StevenOgilvie
Hi Folks, I have two installers, one 32 bit and one 64 bit. They depend on the bit'ness of Outlook... so if Outlook is 32 bit, then the 32 bit installer runs, if Outlook is 64 bit then the 64 bit installer runs... It was working before and now isn't... the only thing I have done recently is

Re: [WiX-users] Burn InstallCondition not working when it used to :(

2013-01-22 Thread StevenOgilvie
Complete Bundle.wxs WITH .NET 4.0: ?xml version=1.0 encoding=UTF-8? Wix xmlns=http://schemas.microsoft.com/wix/2006/wi; xmlns:bal=http://schemas.microsoft.com/wix/BalExtension; xmlns:net=http://schemas.microsoft.com/wix/NetFxExtension;

Re: [WiX-users] WixLibs questions...

2013-01-03 Thread StevenOgilvie
. Subject: Re: [WiX-users] WixLibs questions... You have to duplicate the code I'm afraid. The IDs must differ between the two copies. -Original Message- From: StevenOgilvie [mailto:[hidden email] /user/SendEmail.jtp?type=nodenode=7582638i=5 ] Sent: 02 January 2013 18

[WiX-users] WixLibs questions...

2013-01-02 Thread StevenOgilvie
I have about 10 WixLibs and they are all binaries, an example is such: ?xml version=1.0 encoding=UTF-8? Wix xmlns=http://schemas.microsoft.com/wix/2006/wi; ?include $(var.SolutionDir)\Includes\Variables.wxi ? Fragment ComponentGroup Id=cmpgrp_Log4Net Directory=WixLibRedirectFolder

Re: [WiX-users] Takes two clicks on Next button to move forward on Custom Dialog...

2012-12-22 Thread StevenOgilvie
Fixed... the logic is killing me :) Publish Dialog=SQLServerConnectionDlg Control=Next Event=NewDialog Value=IISWebSiteInfoDlg ! [ CDATA[NOT Installed OR (SQL_CONTINUE_TO_NEXT_PAGE AND (SQL_CONTINUE_TO_NEXT_PAGE = 1)) ] ] /Publish Publish Dialog=IISWebSiteInfoDlg Control=Next Event=NewDialog

[WiX-users] Upgrades NOT working on a new install....

2012-12-20 Thread StevenOgilvie
Hi all, I have implemented upgrades by doing the following (I have an include file that has the product/package properties which I define and include the include file :)... Product Id=$(var.ProductCode) Name=$(var.PlatformProductName) Language=1033

Re: [WiX-users] Takes two clicks on Next button to move forward on Custom Dialog...

2012-12-20 Thread StevenOgilvie
I really need help on this one... I am at a loss why it is taking two click :( -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Takes-two-clicks-on-Next-button-to-move-forward-on-Custom-Dialog-tp7582481p7582515.html Sent from the wix-users mailing

[WiX-users] bootstrapper Close button should be Cancel to be consistent...

2012-12-19 Thread StevenOgilvie
The burn/bootstrapper has two buttons: Install and Close Should be: Install and Cancel Since if you click Close you get a message box asking if your sure you want to cancel... Steve -- View this message in context:

Re: [WiX-users] launch webpage on uninstall

2012-12-19 Thread StevenOgilvie
Palbinder, I was looking for that, I had a website to launch after the install was done :) Works like a charm, I was trying to launch Property Id=WixShellExecTarget Value=iexplorer.exe http://localhost:[WEB_SITE_PORT]/; / which didn't work and the log file was pretty useless... Thanks! Steve

[WiX-users] Registry search and condition message in installer

2012-12-18 Thread StevenOgilvie
I have a 32 bit installer, it can run on a 32 bit or a 64 bit OS... On the 32 bit OS only the 32 bit pre requisites are run, but on the 64 bit OS both 32/64 bit pre requisites are run. The installer verifies that the pre requisites are installed (ya its overkill but that is another story)... On

Re: [WiX-users] Extracting embedded packages from the standard bootstrapper

2012-12-04 Thread StevenOgilvie
I third the request Where does the /layout place the embedded apps? -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Extracting-embedded-packages-from-the-standard-bootstrapper-tp7578806p7582233.html Sent from the wix-users mailing list

[WiX-users] Does the bootstrapper return any error codes?

2012-12-04 Thread StevenOgilvie
Hello, Does the bootstrapper return any error codes? (other than the log files) If I have 6 pre reqs and my main installer, and one of the pre reqs fail, the bootstrapper will fail, does it return any thing? thanks, Steve -- View this message in context:

[WiX-users] Installing Pre-req from DownloadURL...

2012-12-04 Thread StevenOgilvie
HI all, I have my code like this: Chain PackageGroupRef Id=Netfx4Full/ Fragment Id=InstallConditionChecks WixVariable Id=WixMbaPrereqPackageId Value=Netfx4Full / WixVariable Id=WixMbaPrereqLicenseUrl Value=NetfxLicense.rtf / util:RegistrySearch

Re: [WiX-users] Installing Pre-req from DownloadURL...

2012-12-04 Thread StevenOgilvie
If I need to have that file in the same folder as bundle.wxs, what is the point of using DownloadUrl? I tried to use RemotePayload but was missing CertificatePublicKey, CertificateThumbprint and most important Hash I looked at the .net exe it was signed put the thumbprint was wrong and where do I

[WiX-users] Installing SQL Server 2012 Express in bootstrapper...

2012-11-30 Thread StevenOgilvie
I am having an issue where I have both the x86 and x64 versions of SQL Server Express 2012 So if the OS is 64 bit install the 64 bit version, if the OS is 32 bit install the 32 bit version... But if I have neither both install (on a 64 bit OS) :( My code is: Detection: ?define InstanceName =

[WiX-users] Extract packages from bootstrapper?

2012-11-30 Thread StevenOgilvie
Hi folks, Can you extract the ExePackage/MsiPackage (s) from the bootstrapper .exe using a command line? I have 13 EXE's and MSI's in my bootstrapper EXE... most are pre-requisites for my product (2 MSI's) Can I extract the packages/msi's from the exe for someone using GPO? Thanks, Steve

[WiX-users] Using CustomAction.Config file with DefaultRoleProvider...

2012-11-15 Thread StevenOgilvie
Hi, My installer is installing a web site... I have a custom action that requires the RoleManager to be enabled so I added: system.web membership defaultProvider=DefaultMembershipProvider providers clear/ add name=DefaultMembershipProvider

[WiX-users] app.config within my customaction dll...

2012-11-09 Thread StevenOgilvie
Hi all, I have a custom action dll (C# custom action dll) that calls a managed utility dll… We need to update the connecton string, so I have placed it in the app.config… When the installer is packaged, does the app.config (well the name of project.dll.config file) get packaged with it as well?

Re: [WiX-users] stop bootstrapper creating ARP registry key...

2012-11-07 Thread StevenOgilvie
Okay I have my main MSI NOT in ARP: Property Id=ARPNOMODIFY Value=1/ Property Id=ARNOREPAIR Value=0/ Property Id=ARPNOREMOVE Value=0/ Property Id=ARPSYSTEMCOMPONENT Value=1/ And in the bundle.wxs DisableModify=yes DisableRemove=no DisableRepair=no and my MSI is set as: MsiPackage

[WiX-users] stop bootstrapper creating ARP registry key...

2012-11-05 Thread StevenOgilvie
Hi all, I am using the BootStrapper to install requisites that stay on the machine after the companies product is removed... I have NO need for the bootstrapper to create a registry key under HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall we install our product using the bootstrapper

[WiX-users] custom actions in burn?

2012-10-31 Thread StevenOgilvie
Hi all, I have a product that installs a 32 bit version and 64 bit version installer (two .msi) I have a custom action in product.wxs that determines the bitness of Microsoft Outlook (whether the user installed 32 bit or 64 bit version of Outlook, our product is an add-in). so I have 2 msi's,

Re: [WiX-users] calling a deferred customaction dll usingCAQuietExec

2012-10-25 Thread StevenOgilvie
Phew figured it out with the help of Peter: read the msdn info re deferred custom actions: To write the value of a property into the installation script for use during a deferred execution custom action Insert a small custom action into the installation sequence that sets the property of interest

[WiX-users] calling a deferred customaction dll using CAQuietExec

2012-10-24 Thread StevenOgilvie
I have a deferred custom action in a merge module that is a call to a C# customaction dll I created, but I want it to be quiet so I did this: CustomAction Id=CA_SetWebConfigConnectionStrings Property=CA_StartWebConfigConnectionStrings BinaryKey=BIN_CustomAction

Re: [WiX-users] calling a deferred customaction dll using CAQuietExec

2012-10-24 Thread StevenOgilvie
I have a custom action: ?define SourceSQLCustomAction = $(var.resourcePath)\MYCorpInstaller.CA.dll? Binary Id=BIN_CustomAction SourceFile=$(var.SourceSQLCustomAction)/ CustomAction Id=CA_SetWebConfigConnectionStrings DllEntry=CallUpdateAdminWebConfigSqlConnectionString

Re: [WiX-users] Installing to inetpub\wwwroot...

2012-10-22 Thread StevenOgilvie
I really need help on this... -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Installing-to-inetpub-wwwroot-tp7581451p7581511.html Sent from the wix-users mailing list archive at Nabble.com.

Re: [WiX-users] Conditional util:XmlFile change...

2012-10-22 Thread StevenOgilvie
decided to use two components that modify the .config file and condition it one if a Server install the other if a Client install... Thanks Rob and Peter for your input :) Cheers, Steve -- View this message in context:

Re: [WiX-users] Installing to inetpub\wwwroot...

2012-10-22 Thread StevenOgilvie
figured it out... saw a build warning about a property I created with another property as part of the path, you have to create a custom action to do that: CustomAction Id=CA_SetProperty_DIRECTORY_PATH_SERVER Property=DIRECTORY_PATH_SERVER

[WiX-users] Conditional util:XmlFile change...

2012-10-19 Thread StevenOgilvie
I have a .config file I need to change if the install running is the client install and NOT the server install (we share the services between client and server installations) I have this code: Component Id=cmp_EnterpriseServiceConfig Guid={76DCFB0D-B7BD-4089-AD4D-945931CD73FD} Permanent=no

[WiX-users] Installing to inetpub\wwwroot...

2012-10-18 Thread StevenOgilvie
Hi, I am trying to install a web application to the following directory: C:\inetpub\wwwroot\wws\VirtualDirectories\[Web_SITE_PORT] the WEB_SITE_PORT property is set to by default but within the UI of the installer we ask the User if they want to change the port and we verify that the port

Re: [WiX-users] CloseApplication

2012-10-17 Thread StevenOgilvie
I am trying to close Outlook since our product is a add-in for outlook, the uninstall brings the FileInUseProcess which is great, but I also want this for the INSTALL I am doing this but it is not working: util:CloseApplication Id=CloseMicrosoftOutlook Property=FileInUseProcess

Re: [WiX-users] CloseApplication

2012-10-17 Thread StevenOgilvie
I am trying to close Outlook since our product is a add-in for outlook, the uninstall brings the FileInUseProcess which is great, but I also want this for the INSTALLI am doing this but it is not working: CA: Setting file in use process...Any suggestions?Steve

Re: [WiX-users] Setting the version number...

2012-10-16 Thread StevenOgilvie
Hi Rob, I have a wxi variable file with: ?define ProductVersion = !(wix.FileVersion.file_TMCResources)? then my product.wxs file with: Product Id=quot;$(var.ProductCode)quot; Name=quot;$(var.ProductName)quot; Language=quot;1033quot;

Re: [WiX-users] silly question... re properties...

2012-10-10 Thread StevenOgilvie
The condition is: Condition ! [ C D A T A [ T I T U S _ F O U N D P R O D U C T P L A T F O R M = x 8 6 ] ] /Condition I had to put spaces in since NABBLE wipes out the C D A T A -- View this message in context:

[WiX-users] silly question... re properties...

2012-10-10 Thread StevenOgilvie
Hi all, I feel like a dork asking but... If a property is a assigned value 'x' and then a custom action changes the value to same ('x') will the MSI log file just show that the custom action was run? i.e. MSI (s) (CC:90) [12:48:12:634]: Doing action: CA_TITUS_FOUNDPRODUCTPLATFORM.SetProperty

[WiX-users] condition not working :(

2012-10-05 Thread StevenOgilvie
Hi all frustrated... I have 3 files that are installed conditionally: Condition/Condition /Component I have a custom action to a dll that runs and sets the property as per log file: MSI (c) (4C!E4) [16:17:47:570]: PROPERTY CHANGE: Adding MYCORP_FOUNDPRODUCTPLATFORM property. Its value

Re: [WiX-users] condition not working :(

2012-10-05 Thread StevenOgilvie
+s687559n7581182...@n2.nabble.com Date: Fri, 5 Oct 2012 20:37:39 To: sogil...@msn.com Subject: Re: condition not working :( I assume your condition must have been mangled/stripped when you posted. -Original Message- From: StevenOgilvie [mailto:[hidden email] /user/SendEmail.jtp

[WiX-users] Bug? Disable a control because another control is empty, enter text control is not enabled

2012-10-04 Thread StevenOgilvie
Hi all, I created a custom dialog... I have a button control that is disabled/enabled whether or not some text box controls are empty or have some text in them: Condition Action=disable/Condition Condition Action=enable/Condition Here is one of my text box controls: Control

Re: [WiX-users] Bug? Disable a control because another control is empty, enter text control is not enabled

2012-10-04 Thread StevenOgilvie
sigh my original msg is missing text: -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Bug-Disable-a-control-because-another-control-is-empty-enter-text-control-is-not-enabled-tp7581117p7581118.html Sent from the wix-users

Re: [WiX-users] Burn installCondition vs Product.wxs Condition

2012-10-04 Thread StevenOgilvie
If I had to guess, the extension is only valid for the MSI scope and not the Burn scope. -Original Message- From: StevenOgilvie [mailto:[hidden email] /user/SendEmail.jtp?type=nodenode=7581152i=2 ] Sent: Wednesday, October 03, 2012 4:48 PM To: [hidden email] /user

Re: [WiX-users] different features to different ProgramFilesFolder...

2012-10-03 Thread StevenOgilvie
I really need some help in this please... I have 1 feature being installed to programfiles64folder (it depends whether or not it gets installed to programfilesfolder or programfiles64folder) and another feature to programfilesfolder I haven't been able to accomplish this... thanks, Steve --

[WiX-users] Burn installCondition vs Product.wxs Condition

2012-10-03 Thread StevenOgilvie
Sigh, This is driving me nuts :( I have a pre requesite of .NET 4.0 in my bootstrapper, so in bundle.wxs I have: ExePackage Id=DotNetFx40 DisplayName=Microsoft .NET Framework 4 SourceFile=..\..\PreReqs\dotNetFx40_Full_x86_x64.exe

Re: [WiX-users] Burn installCondition vs Product.wxs Condition

2012-10-03 Thread StevenOgilvie
its a dependency of a MSI that I am installing, once I get it working properly I can take out that condition in the MSI... -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Burn-installCondition-vs-Product-wxs-Condition-tp7581071p7581073.html Sent

[WiX-users] different features to different ProgramFilesFolder...

2012-10-02 Thread StevenOgilvie
Hello, I have 1 feature that is installed to ProgramFilesFolder if 32bit or ProgramFiles64Folder if 64 bit, another feature will always go to ProgramFilesFolder... I have an include file that has: ?if $(var.Platform) = x64 ? ?define PlatformProductName = $(var.ProductName) (64 bit) ?

[WiX-users] Burn and install conditions...

2012-10-01 Thread StevenOgilvie
Sigh... Am I daft, or I just don't understand... I have multiple packages I need to install as pre reqs of the main install... Do these make sense? .Net 4.0: ExePackage Id=DotNetFx40 DisplayName=Microsoft .NET Framework 4

Re: [WiX-users] Burn and install conditions...

2012-10-01 Thread StevenOgilvie
These are the results even though I don't have 90% of the pre reqs: Detect 8 packages Detected partially cached package: MainInstall, invalid payload: MainInstall, reason: 0x80070570 Detected package: DotNetFx40, state: Absent, cached: None Detected package: A_Synchronizationx86, state: Absent,

[WiX-users] Getting FileInUse to work on Install (works on Uninstall)

2012-09-27 Thread StevenOgilvie
Hi all, I have an install that creates an extension in MS Outlook. So outlook needs to close before copying files etc.. and then restart after. (Just like it does on an uninstall) I have a CloseApplication and a set property custom action: util:CloseApplication Id=CloseMicrosoftOutlook

[WiX-users] shared services question...

2012-09-26 Thread StevenOgilvie
I have two installers that share 4 services... each service creates its service and uninstalls its service: InstallExecuteSequence Custom Action=SetStartESService After=CostInitializeNOT Installed/Custom Custom Action=StartESService Before=StartServicesNOT Installed/Custom

Re: [WiX-users] Progress UI isn't working using burn on external MSI

2012-09-26 Thread StevenOgilvie
logged as #3097 Wix install kicked off from BootStrapper doesn't show progress bar progress.. Steve attached both the bootstrapper log and the main install log -- View this message in context:

Re: [WiX-users] shared services question...

2012-09-26 Thread StevenOgilvie
The 4 services are each a separate merge module, with common files between them in two wixlibs The services creation/removal of services is code within the merge modules... (a side issue, a majority of the files do not get uninstalled either :( Steve -- View this message in context:

Re: [WiX-users] Files not being removed on uninstall...

2012-09-25 Thread StevenOgilvie
Okay here is the code for the component: Component Id=cmpA65729EDA2FB9E1E1F2E330E73315D53 Guid={4C857562-218B-48E5-9635-41689CE2ADDC} Permanent=no Shared=no File Id=filB3502DB69DD6BC0F66132A07E446E472 KeyPath=yes Source=..\..\..\Source\Web\Admin\Company.Admin\bin\Newtonsoft.Json.dll /

Re: [WiX-users] Burn to check Silverlight 4.0 installed

2012-09-25 Thread StevenOgilvie
Find the GUID for SilverLight 4.0 (easy enough, if it is a MSI user Orca to locate the ProductCode Property of the msi... I am checking for MS Sync Framework 2.1 Synchronization, my check is this(replace to suit SilverLight): util:ProductSearch Guid

[WiX-users] Files not being removed on uninstall...

2012-09-24 Thread StevenOgilvie
Hey all, I have two .msi's they share some wixlibs and merge modules, when I remove both setups I get quite a bit of left over files (some not shared as well!) like this one... Here is what is in the merge module for 1 file: Newtonsoft.Json.xml Component Id=cmpF370F0F789ABD37330A0C7B74F3E2B50

  1   2   >