Re: [WiX-users] Writing JDK version verification code, and Wix debugging tip

2012-01-13 Thread Mike Rerick
llation option that > modifies the product code. > > -Original Message- > From: Mike Rerick [mailto:mrer...@iwsinc.com] > Sent: 13 January 2012 15:38 > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Writing JDK version verification cod

Re: [WiX-users] Writing JDK version verification code, and Wix debugging tip

2012-01-13 Thread Mike Rerick
The app being installed is a Java app. Can't run it without Java being installed. If Java isn't installed, the installer needs to quit with an error msg to the user. On Fri, Jan 13, 2012 at 7:28 AM, Peter Shirtcliffe wrote: > Why not check it when the application starts up ? It'll be easier to c

Re: [WiX-users] Writing JDK version verification code, and Wix debugging tip

2012-01-13 Thread Mike Rerick
Here is something I had put together quite a while ago that works for me. You should be able to modify it to do what you need. You could change the CustomAction to SetProperty elements. JAVA_JRE_HOME SetJavaJdkJreHomeVBS.wxi: http://schemas.mic

Re: [WiX-users] Concatenate 2 values

2012-01-09 Thread Mike Rerick
Use a custom action to set the Property. In the InstallExecuteSequence, call the custom action: Set the Before or After attribute to wherever you want the value set. Mike On Mon, Jan 9, 2012 at 1:07 PM, Bourne, Kevin < kevin.bou...@chasepaymentech.com> wrote: > Says "Could not access ne

Re: [WiX-users] Error 26201. Error -2147467259: failed to create SQL database

2011-03-17 Thread Mike Rerick
Re-looking at your code, I noticed that some of the sql:sqlString statements don't have a sqlDb attribute on them. Not sure what the consequences are of leaving it off - I always put one on all of my sqlScript statements. Mike *Mike Rerick* *Sr. Software Engineer* [image: G

Re: [WiX-users] Error 26201. Error -2147467259: failed to create SQL database

2011-03-17 Thread Mike Rerick
Kim, I looked at your code. Seems to be OK. Looking at my sql scripts, I have a GO command after each group of statements. Have you tried adding GO at the end of each of your SQL commands? Mike *Mike Rerick* *Sr. Software Engineer* [image: Google Docs] <http://www.iwsinc.

Re: [WiX-users] Error 26201. Error -2147467259: failed to create SQL database

2011-03-17 Thread Mike Rerick
. . . Hope this helps. *Mike Rerick* *Sr. Software Engineer* [image: Google Docs] <http://www.iwsinc.com>*ImageWare Systems, Inc.* 9200 S.E. Sunnybrook Blvd., Suite 170 Clackamas, OR 97015 Office: (503) 353-8068 Fax: (

Re: [WiX-users] bug in Light

2010-04-19 Thread Mike Rerick
Thanks Dave. I don't know why I didn't see that. I looked at it several times. On Mon, Apr 19, 2010 at 1:28 PM, Dave Brotherstone wrote: > On Mon, Apr 19, 2010 at 9:48 PM, Mike Rerick wrote: > > > > > Is there a work-around I can do to get this installer to build?

[WiX-users] bug in Light

2010-04-19 Thread Mike Rerick
I am attempting to build an installer with a couple of modified standard screens in the FeatureTree UI: CustomizeDlg and WelcomeDlg. I copied the FeatureTree UI wxs file and modified it. The CustomizeDlg screen builds without any problems. I get an error on the WelcomeDlg - see below. I run the com

[WiX-users] dark bug?

2010-03-25 Thread Mike Rerick
I am attempting to de-compile some old InstallShield merge modules. When I attempted to de-compile one of them, I got the error below. I tried it using WiX 3.5.1519.0. In the Registry table, there are multiple entries of the form _ISComExtract_Registryxxx and _ISComExtract_Registryxxx. in the Regi

Re: [WiX-users] How to select between SQL Authentication and Integrated Authentication during the install of the msi?

2010-02-23 Thread Mike Rerick
This is what I have done for all of my database installs. I took the standard FeatureTree and extended it with some additional screens. I use a third party custom action to get a list of db servers that are available. Hope this helps. Also, see http://wix.mindcapers.com/wiki/WiX_and_SQLServer I

Re: [WiX-users] New to wix: LGHT0036: Could not find extension 'WixUIExtension'

2009-11-10 Thread Mike Rerick
Here is what I use for building my installers: "%WIX_BIN_PATH%\candle.exe" "installer.wxs" -ext "%WIX_EXT_PATH%\WixUtilExtension.dll" -ext "%WIX_EXT_PATH%\WixSqlExtension.dll" if errorlevel 1 goto comperr rem Run light.exe (linker) echo Run the WiX Linker... "%WIX_BIN_PATH%\light.exe" -out "insta

[WiX-users] verbose log files

2009-09-22 Thread Mike Rerick
line: msiexec /i msiname.msi LOGVERBOSE=1 /l*v logname.log I am using MSI 4.5 and WiX 3.0.5210.0. Everything is running on Windows XP SP2 or SP3. I was wondering if anyone else has seen this and if so, how do I prevent this from happening? Thanks *Mike Rerick* *Sr. Software Engineer

Re: [WiX-users] Question about using an environment variable to set I NSTALLDIR (or any other property)

2009-06-17 Thread Mike Rerick
try using $(env.PAYMETRIC_HOME) *Mike Rerick* *Sr. Software Engineer* [image: Google Docs] <http://www.iwsinc.com>*ImageWare Systems, Inc.* 9200 S.E. Sunnybrook Blvd., Suite 170 Clackamas, OR 97015 Office: (503) 353-8068 Fax: (503) 353-8065 On Wed,

Re: [WiX-users] Token Replacements in WXS

2009-06-15 Thread Mike Rerick
You could also use an environmental variable and set it before running the installer. $(env.ServerVersion) *Mike Rerick* *Sr. Software Engineer* [image: Google Docs] <http://www.iwsinc.com>*ImageWare Systems, Inc.* 9200 S.E. Sunnybrook Blvd., Suite 170 Clackam

Re: [WiX-users] setup.exe with msi

2009-05-26 Thread Mike Rerick
A solution I have been using is AutoIt V3 scripting language. I create self-extracting executables that are then distributed to the customer. I would recommend downloading the SciTE editor as well - it has a lot of additional features. http://www.autoitscript.com/ -Original Message- From

Re: [WiX-users] invoking batch file inside wxs file

2008-11-18 Thread Mike Rerick
By using heat, you can harvest the COM information from the file and add that to your wix file. This works very well and also get removed correctly when the product is uninstalled. Beats having to write custom actions for install & uninstall. -Original Message- From: Jim Williams [mailto:[

Re: [WiX-users] Seriously borked install

2008-10-17 Thread Mike Rerick
Have you tried running your install from the command line with logging? msiexec /i your-msi.msi /l*v log-file-name.log (install) msiexec /x your-msi.msi /l*v log-file-name.log (uninstall) You can use /l*vx for a LOT of debug info in the log file. This might give you some insight as to wha

[WiX-users] Dark Error 0143

2008-10-10 Thread Mike Rerick
rporation. All rights reserved. webserver.msi C:\Program Files\WixEdit\wix-3.0.4603.0\WixDirectXExtension.dll : error DARK0143 : A parsed tuple has more fields for table 'CustomAction' than are defined. Th is is potentially because a standard table is being redefined as a custom table.

Re: [WiX-users] Will XmlConfig do this?

2008-10-04 Thread Mike Rerick
is the same thing as - they are both empty elements. In XML you can indicate an empty element either way ( is the preferred way to indicate an empty element). If you give the connectionStrings element a value, you will get some-value. Or you can add children to the connectionStrings element as w

Re: [WiX-users] Property problem - additional info

2008-09-05 Thread Mike Rerick
PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Richard Sent: Friday, September 05, 2008 3:00 PM To: WiX Users Subject: Re: [WiX-users] Property problem - additional info In article <[EMAIL PROTECTED]>, Mike Rerick <[EMAIL PROTECTED]> writes: > I have set all of the needed propert

Re: [WiX-users] Property problem - additional info

2008-09-05 Thread Mike Rerick
AIL PROTECTED]>, Mike Rerick <[EMAIL PROTECTED]> writes: > I have set all of the needed properties to have the Secure="yes" attribute. > The install is a perMachine install on XP. The properties do appear in the > SecureCustomProperties property in the properties list that t

Re: [WiX-users] Property problem - additional info

2008-09-05 Thread Mike Rerick
Arnson Sent: Friday, September 05, 2008 8:45 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Property problem - additional info Mike Rerick wrote: > It appears that in the InstallExecuteSequence, all of the various global > properties that had th

[WiX-users] Property problem - additional info

2008-09-04 Thread Mike Rerick
, some global variables get updated via CAs that run after the WelcomeDlg and before ExecuteAction in the InstallUISequence. These are the properties that appear to have their initial values again in the InstallExecuteSequence. Mike Rerick Sr. Software Engineer - Professional Services http

[WiX-users] Property problem

2008-09-04 Thread Mike Rerick
property value. Has anyone else seen this type of behavior? If so, do you have a work around? Mike Rerick Sr. Software Engineer - Professional Services http://www.iwsinc.com/> 9200 S.E. Sunnybrook Blvd., Suite 170 Clackamas, OR 97015 Phone: (503) 353-8068Fax: (503) 353-8

Re: [WiX-users] RegistrySearch question

2008-08-21 Thread Mike Rerick
D] On Behalf Of Mike Rerick Sent: Wednesday, August 20, 2008 4:37 PM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] RegistrySearch question I am trying to read a Registry setting to get the installed instances of SQL Server. The InstalledInstances entry is a REG_MULTI_SZ

[WiX-users] RegistrySearch question

2008-08-20 Thread Mike Rerick
ideas? Thanks! Mike Rerick Sr. Software Engineer - Professional Services http://www.iwsinc.com/> 9200 S.E. Sunnybrook Blvd., Suite 170 Clackamas, OR 97015 Phone: (503) 353-8068Fax: (503) 353-8065 The information contained in this tran

Re: [WiX-users] custom action

2008-08-05 Thread Mike Rerick
://msdn.microsoft.com/en-us/library/aa371254(VS.85).aspx for options on return value from CA. Perhaps you need IDABORT=3. Regards, Alex Shevchuk -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Rerick Sent: Monday, August 04, 2008 1:03 PM To: wix

[WiX-users] custom action

2008-08-04 Thread Mike Rerick
s documentation but can't find any variable that would do that. I would like this to be treated as an error in the install and have the installer go directly to the Finish screen. Thanks for all of your help. Mike Rerick Sr. Software Engineer - Professional Services http://www.iw

[WiX-users] WixVariable element

2008-07-15 Thread Mike Rerick
Is there a list of the various Wix variables that can be set in the WixVariable element? The only one I have seen is the 'WixUILicenseRtf' one. Thanks Mike Mike Rerick Sr. Software Engineer - Professional Services http://www.iwsinc.com/> 9200 S.E. Sunnybrook Blv

Re: [WiX-users] Bug in dark.exe?

2008-06-27 Thread Mike Rerick
there somewhere. Can you log it? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Rerick Sent: Wednesday, June 25, 2008 16:15 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Bug in dark.exe? I am de-compiling a MSI

[WiX-users] Bug in dark.exe?

2008-06-25 Thread Mike Rerick
n this table. If this is a standard actio n then it is not valid for this table, if it is a custom action or dialog then t his table does not accept actions of that type. This action will be left out of the decompiled output. Mike Rerick Sr. Software Engineer - Professional Services ht

Re: [WiX-users] Error trying to install VS2008 merge module files

2008-06-24 Thread Mike Rerick
e file is there because it needs to know if it needs installing or updating. Check that the SYSTEM account has full access to WinSxS. Phil Wilson -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Rerick Sent: Tuesday, June 24, 2008 8:09 AM To: General discuss

Re: [WiX-users] Error trying to install VS2008 merge module files

2008-06-24 Thread Mike Rerick
g UpdateStarted property. Its current value is '1'. Action ended 14:35:49: INSTALL. Return value 3. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bob Arnson Sent: Saturday, June 21, 2008 7:24 AM To: General discussion for Windows Installer XML toolset. Sub

Re: [WiX-users] Error trying to install VS2008 merge module files

2008-06-24 Thread Mike Rerick
g UpdateStarted property. Its current value is '1'. Action ended 14:35:49: INSTALL. Return value 3. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bob Arnson Sent: Saturday, June 21, 2008 7:24 AM To: General discussion for Windows Installer XML toolset. Sub

Re: [WiX-users] Error trying to install VS2008 merge module files

2008-06-23 Thread Mike Rerick
leanupTemplate=File: [1]) Action 9:30:16: Rollback. Rolling back action: Rollback: Copying new files -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bob Arnson Sent: Saturday, June 21, 2008 7:24 AM To: General discussion for Windows Installer XML toolset.

Re: [WiX-users] Error trying to install VS2008 merge module files

2008-06-23 Thread Mike Rerick
leanupTemplate=File: [1]) Action 9:30:16: Rollback. Rolling back action: Rollback: Copying new files -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bob Arnson Sent: Saturday, June 21, 2008 7:24 AM To: General discussion for Windows Installer XML toolset.

[WiX-users] Error trying to install VS2008 merge module files

2008-06-19 Thread Mike Rerick
ories ... Mike Rerick Sr. Software Engineer - Professional Services http://www.iwsinc.com/> 9200 S.E. Sunnybrook Blvd., S

Re: [WiX-users] New bee question. 'SQLDatabase' and 'User' tags a re not being resolved.

2008-05-15 Thread Mike Rerick
You need to add support for the Util and SQL extension namespaces. http://schemas.microsoft.com/wix/2006/wi"; xmlns:util="http://schemas.microsoft.com/wix/UtilExtension"; xmlns:sql="http://schemas.microsoft.com/wix/SqlExtension";> See the Util and Sql schemas for more

[WiX-users] See if a file is going to be installed

2008-05-05 Thread Mike Rerick
at it gets executed (it is an SQL script file). How do I determine if the file exists in the set of files that will be installed? Thanks in advance. Mike Rerick Sr. Software Engineer - Professional Services http://www.iwsinc.com/> 9200 S.E. Sunnybrook Blvd., Suite 170 Clackama

[WiX-users] Test to see if a service is installed and running

2008-04-07 Thread Mike Rerick
to do this. I've looked at the ServiceControl and StartService/StopService elements. Thanks in advance for any help. Mike Rerick Sr. Software Engineer - Professional Services http://www.iwsinc.com/> 9200 S.E. Sunnybrook Blvd., Suite 170 Clackamas, OR 97015 Phone: (503) 353-8068

[WiX-users] Problem with empty directory

2008-03-05 Thread Mike Rerick
not get created in the INSTALLDIR. I am using WiX version 3.0.3725. I can't find any options for either candle or light that would keep empty directories. Is there a way to keep the empty directory & have it created on the target machine? Thanks for any help. Mike Rerick Sr. Soft

[WiX-users] WIX 3.0.3815 release

2008-02-28 Thread Mike Rerick
uleIgnoreTable table. Decompiling the ModuleInstallUISequence table. Decompiling the ModuleSubstitution table. Decompiling the RemoveFile table. Decompiling the Shortcut table. Decompiling the TextStyle table. Mike Rerick Sr. Software Engineer - Professional Services http://www.iwsinc