Re: [WiX-users] WiX-users Digest, Vol 94, Issue 94

2014-03-18 Thread kaizen__ hotmail . com
In your wxs, where do you define the following properties... EXCEPTIONDETAILS CURRENTDIRECTORY DATABASE_VERSION I also really wouldn't log to a Network Share in an exception handler. When run with Administrative privileges network shares are disconnected.. If your catch throws an exception this

[WiX-users] ExecXmlFile error 1603

2013-12-15 Thread kaizen__ hotmail . com
Hi All, I'm getting the following error when performing a 'Change' action from my installer (installation itself went fine, no errors thrown).I've read that this is most likely a situation involving the file already being open for read/write (I'm writing to web.config files), and so ExecXmlFile

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

2013-12-15 Thread kaizen__ hotmail . com
Are you sure you should be using CAQuietExec, and not CAQuietExec64?And you should probably be using the AppCmd in Sysnative instead of the 32-bit version in SysWOW64 (which would match the CAQuietExec64 command).I have had some problems with using 32bit system executables to modify system

[WiX-users] Install filles to an Image folder question

2012-08-27 Thread Rick Hantz (Hotmail)
I have one image file to install to an Images subfolder on the client. ComponentGroup Id=ProductComponents Directory=INSTALLFOLDER VS 2012 gives me a syntax error if I remove the 'Directory' from the ComponentGroup. I wanted to add: Component Id=BtnIconImage

Re: [WiX-users] Install filles to an Image folder question

2012-08-27 Thread Rick Hantz (Hotmail)
... /DirectoryRef -Original Message- From: Rick Hantz (Hotmail) [mailto:rick_ha...@hotmail.com] Sent: Monday, August 27, 2012 3:49 PM To: 'General discussion for Windows Installer XML toolset.' Subject: [WiX-users] Install filles to an Image folder question I have one image file to install

Re: [WiX-users] Install filles to an Image folder question

2012-08-27 Thread Rick Hantz (Hotmail)
I made a separate ComponentGroup just for the images. No errors so far. -Original Message- From: Rick Hantz (Hotmail) [mailto:rick_ha...@hotmail.com] Sent: Monday, August 27, 2012 4:28 PM To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] Install filles

[WiX-users] 3.6 install on Win8 RTM

2012-08-26 Thread Rick Hantz (Hotmail)
I had to try several different compatibility settings to get the latest weekly RC build to run on Win8 RTM. Something wrong here... Clean Win8 Pro RTM x64 install from MSDN. -RickH -- Live Security Virtual Conference

Re: [WiX-users] 3.6 install on Win8 RTM

2012-08-26 Thread Rick Hantz (Hotmail)
...@joyofsetup.com] Sent: Sunday, August 26, 2012 9:02 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] 3.6 install on Win8 RTM On 8/26/2012 11:14 AM, Rick Hantz (Hotmail) wrote: I had to try several different compatibility settings to get the latest weekly RC build to run on Win8

Re: [WiX-users] desktop shortcut guidance

2012-04-13 Thread Rick Hantz (Hotmail)
This has been working for me...not sure it's the best way.. Component Id=MainExecutable Guid=8102CC39-A548-4E64-8A41-0E29DEF3FB64 File Id='SmartListW32EXE' Name=$(var.SmartListW32.TargetFileName) Source=$(var.SmartListW32.TargetPath) DiskId=1 KeyPath=yes Shortcut

[WiX-users] wix36.exe -must install to c:?

2012-04-12 Thread Rick Hantz (Hotmail)
My SSD drive is too full. I'm trying to move lots of files off of it. Is there any way to have it install/hack it to work if it was on D:? Thanks, RickH -- I am using the free version of SPAMfighter. We are a community of 7 million users fighting spam. SPAMfighter has removed 103622 of my spam

[WiX-users] condition problem

2012-03-12 Thread Rick Hantz (Hotmail)
I 'm trying to detect whether I have 64 or 32bit Win installed in order to set the reg key correctly for an URL handler. I could have sworn my research said this would work: (They both run, even on my 32bit Win7 netbook.) Component Id=SmartListW32RegShellOpenCommand32bit

Re: [WiX-users] condition problem

2012-03-12 Thread Rick Hantz (Hotmail)
-BC18-45A1-BAB1-3EEF08B8C10A KeyPath=yes Condition VersionNT = 600 /Condition -Original Message- From: Rick Hantz (Hotmail) [mailto:rick_ha...@hotmail.com] Sent: Monday, March 12, 2012 3:44 PM To: 'General discussion for Windows Installer XML toolset.' Subject: [WiX-users] condition

[WiX-users] vs11beta how to embed cab?

2012-03-09 Thread Rick Hantz (Hotmail)
New to WiX. I created a simple install project that has basic functionality. However, its creating a separate cab file. When I add: Media Id=1 Cabinet=media1.cab EmbedCab=yes / I get a compile error of duplicate media id. I can't find the duplicate anywhere. Can't find a way to specify that the

Re: [WiX-users] vs11beta how to embed cab?

2012-03-09 Thread Rick Hantz (Hotmail)
Bergman (XPedient) [mailto:john.berg...@xpdnt.com] Sent: Friday, March 09, 2012 11:36 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] vs11beta how to embed cab? We'd need to see the rest of your wix file -Original Message- From: Rick Hantz (Hotmail

Re: [WiX-users] vs11beta how to embed cab?

2012-03-09 Thread Rick Hantz (Hotmail)
Ok, then how do I change the MediaTemplate element? -Original Message- From: John Cooper [mailto:jocoo...@jackhenry.com] Sent: Friday, March 09, 2012 11:55 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] vs11beta how to embed cab? The problem is

[WiX-users] Determining which OS is installed

2012-03-07 Thread Rick Hantz (Hotmail)
I need to install an URL handler, which means different path entries if you have a 32 or 64bit OS installed. I tried: ?if (VersionNT64 = 600) ? RegistryKey Id='RegShellOpenCommand' Root='HKCR' Key='SmartList\Shell\open\command' Action='createAndRemoveOnUninstall'

Re: [WiX-users] Determining which OS is installed

2012-03-07 Thread Rick Hantz (Hotmail)
properties there because preprocessor statements affect the build process, not the runtime behavior. Hope that helps, David -Original Message- From: Rick Hantz (Hotmail) [mailto:rick_ha...@hotmail.com] Sent: Wednesday, March 07, 2012 1:00 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users

[WiX-users] How to prevent %USERPROFILE% be expanded

2009-11-22 Thread Hotmail
Hi All, I want to create a shortcut and installed as per-machine. Add I set the shortcut's working directory to %USERPROFILE%, with intension to set the Start In with different values under differ users. Unfortunately this value was resolved and wrote same value for all user. Any ideas

Re: [WiX-users] Unable to create app shortcut on desktop

2009-10-08 Thread Farooq Mahmud (Hotmail)
Try placing the Shortcut element under the Component instead of the File like the sample at http://wix.sourceforge.net/manual-wix3/create_start_menu_shortcut.htm. You would set the WorkingDirectory property to DesktopFolder. -farooq -Original Message- From: Sudripta Nandy

Re: [WiX-users] Problem while creating objects by calling custom action

2009-10-08 Thread Farooq Mahmud (Hotmail)
It's not overwriting the old object, it is creating a new object each time the custom action is invoked so you can't save state like this. A better approach would be to write the object's data into a custom table. When you need to create the collection, iterate through the rows in the table,

Re: [WiX-users] Problem while creating objects by calling custom action

2009-10-08 Thread Farooq Mahmud (Hotmail)
]; obj_PDBInformation.Server = session[PORTPROP]; obj_PDBInformation.Server = session[USERPROP]; So how to write a object's data like in above lines into custom table and iterate throught rows? Please give me example code to understand the concept. Thanks a lot Farooq Mahmud (Hotmail) wrote: It's

Re: [WiX-users] Creating SQLServer Users/Logins....

2009-10-07 Thread Farooq Mahmud (Hotmail)
Dominique, You should really use the following in SQL Server 2008 to avoid additional rework once these are deprecated: Instead of sp_addlogin use CREATE LOGIN... Instead of sp_grantdbaccess use CREATE USER... To check if the server login exists, run the following: SELECT 1 FROM

Re: [WiX-users] Test sql connection

2009-10-07 Thread Farooq Mahmud (Hotmail)
There are a couple of ways to do this: 1. Write a custom action that connects to the database and runs a basic SELECT query. Schedule the CA before LaunchConditions or when the Test button is clicked. 2. Use SqlDatabase and SqlString elements to connect to the database and run a basic SELECT

Re: [WiX-users] Permission element question

2009-10-07 Thread Farooq Mahmud (Hotmail)
limitations), PermissionEx which works with Installer 5.0, and the WixUtilsExtension PermissionEx (doesn't use SDDL, but it is more flexible than Installer's built-in action). -Original Message- From: Farooq Mahmud (Hotmail) [mailto:farooq...@hotmail.com] Sent: Tuesday, October 06, 2009 1

Re: [WiX-users] Conditional Custom Actions

2009-10-07 Thread Farooq Mahmud (Hotmail)
Brett, For #2, if the file is being installed by a Component then the file will be removed on uninstall like any other file. For #1, use the feature-condition syntax shown at http://msdn.microsoft.com/en-us/library/aa368012(VS.85).aspx. Note that for this to work the CA must be scheduled after

[WiX-users] Permission element question

2009-10-06 Thread Farooq Mahmud (Hotmail)
I run an msi based on the code below. [ProgramFilesFolder] gives my built-in Users group read permission but my application folder does not inherit this permission. I use Windows Explorer to create a folder under [ProgramFilesFolder] and the folder does inherit the Users permission. Is there

Re: [WiX-users] How to work with ALLUSERS

2009-08-21 Thread Hotmail Acc
of the Component element to hook your components into your features. You just need to make sure your fragment is already linked in so the block doesn't get left out. -Original Message- From: Hotmail Acc [mailto:rpat...@hotmail.com] Sent: Thursday, August 20, 2009 3:14 PM To: 'General

Re: [WiX-users] How to work with ALLUSERS

2009-08-21 Thread Hotmail Acc
problems with creating installers that can be switched between per-user and per-machine (including the fact that UAC basically breaks your installation experience on Vista). -Original Message- From: Hotmail Acc [mailto:rpat...@hotmail.com] Sent: Friday, August 21, 2009 9:38 AM To: 'General

[WiX-users] How to work with ALLUSERS

2009-08-20 Thread Hotmail Acc
I need a sample wxs file which can install files to different location based on the value of ALLUSERS. Example:- allusers=1, some selected files will be installed to commonappdata folder(C:\Documents and Settings\All Users\Application Data). allusers={}, the above files will be installed

Re: [WiX-users] How to work with ALLUSERS

2009-08-20 Thread Hotmail Acc
? ?else? ?define condition = NOT ALLUSERS? ?endif? Component Id=... Directory=$(var.directory) Condition$(var.condition)/Condition File .../ ... /Component ... ?undef condition? ?endforeach? -Original Message- From: Hotmail Acc [mailto:rpat...@hotmail.com] Sent

Re: [WiX-users] How to work with ALLUSERS

2009-08-20 Thread Hotmail Acc
.$(var.dictionary).dll3 Directory=$(var.directory) Guid=* Condition$(var.condition)/Condition File Id=Act.Data.dll3 Name=Act.Data.dll Source=G:\xxx\Act.Data.dll DiskId=1 KeyPath=yes / /Component ?undef condition? ?endforeach? -Original Message- From: Hotmail

Re: [WiX-users] Need a Good Template or GUI designer

2009-08-14 Thread Hotmail Acc
to build? -Original Message- From: Hotmail Acc [mailto:rpat...@hotmail.com] Sent: Thursday, August 13, 2009 5:50 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Need a Good Template or GUI designer I am trying to create a prototype for our team and I am not able to succeed

[WiX-users] Need a Good Template or GUI designer

2009-08-13 Thread Hotmail Acc
I am trying to create a prototype for our team and I am not able to succeed(nearly spent 2 mo). The current information that is available on the web is not helpful. It is getting kinda frustrating. Is it possible to get a template or a GUI designer or a more real world sample which can be used as

Re: [WiX-users] Bug in x64 build of WiX UtilExtension?

2008-10-22 Thread Joel Paula (hotmail)
Hi, I was stuck with the same error. I moved on to use XmlConfig instead. I guess there really is a bug with XmlFile. Anyway, those commands only add or delete nodes. I had to delete nodes and then re-add them with the correct information. Example using XmlConfig: util:XmlConfig

Re: [WiX-users] Help with XmlFile, FileCopy and ExeCommand

2008-10-22 Thread Joel Paula (hotmail)
in Scotland No. SC151456 Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 0SP Email Disclaimer -Original Message- From: Joel Paula (hotmail) [mailto:[EMAIL PROTECTED] Sent: 21 October 2008 19:09 To: WiX-users@lists.sourceforge.net Subject: [WiX-users

Re: [WiX-users] Bug in x64 build of WiX UtilExtension?

2008-10-22 Thread Joel Paula (hotmail)
Brian, XmlConfig only allows for adding or deleting elements. I understand this is more straightforward when you want to rollback. How do you edit an XML file? XmlFile seemed to be the thing to use, but it always throws the error ExecXmlFile: Found Wow64 API, but unable to link to

Re: [WiX-users] Getting Error LGHT0102

2008-10-22 Thread Joel Paula (hotmail)
This probably happens because you are trying to build a culture other then en-us. Get WiX source code, go to folder \src\ext\SqlExtension\wixlib\ and get the en-us.wxl language file. Make a copy of it, but translated to the culture you are using, and include it in your project. Joel Paula

Re: [WiX-users] How to for non english culture?

2008-10-21 Thread Joel Paula (hotmail)
. Subject: Re: [WiX-users] How to for non english culture? Joel, that's the vision for WiX v3.5. We just don't have the bootstrapper right now. -Original Message- From: Joel Paula (hotmail) [mailto:[EMAIL PROTECTED] Sent: Monday, October 20, 2008 16:18 To: wix-users@lists.sourceforge.net

Re: [WiX-users] How to for non english culture?

2008-10-21 Thread Joel Paula (hotmail)
Culture=pt-BR FallbackCulture=en-US Path=C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper\ / -Original Message- From: Joel Paula (hotmail) [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 21, 2008 1:08 PM To: 'General discussion for Windows Installer XML toolset

[WiX-users] Help with XmlFile, FileCopy and ExeCommand

2008-10-21 Thread Joel Paula (hotmail)
I have an Xml file I need to put in another application file, write some xml to it and run it with that 3rd party application. Sequence of events: 1. Write Xml to file 2. Get the Directory/Folder where the 3rd party application is sitting from win.ini 3. Copy Xml file to 3rd party app folder

Re: [WiX-users] Found the perfect self-extracting executable maker

2008-10-21 Thread Joel Paula (hotmail)
Logan, Thanks for the tip. You can also use 7-zip. It does that for free. It even has a special SFx for windows installation and you can configure the dialogs messages (if needed). But doesn't provide options for configuring icons and such. -Original Message- From: chaiguy1337

[WiX-users] XMLConfig: Solved adding to value

2008-10-21 Thread Joel Paula (hotmail)
I had a problem this morning with XMLConfig. Somebody also had a similar problem. Here is the code to add a value to an element (not an attribute): util:XmlConfig Id=ViewpointButtonPicture File=[INSTALLLOCATION]aero.justify.xml Action=create ElementPath=//[EMAIL

Re: [WiX-users] How to for non english culture?

2008-10-20 Thread Joel Paula (hotmail)
To: Joel Paula (hotmail) Cc: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] How to for non english culture? It's also worth noting that it's not awfully hard to write your own -- which has some advantages, in that you can customize it to your liking. I just wrote one for our own

[WiX-users] setupbld

2008-10-13 Thread Hotmail
I cannot get setupbld to work I keep on getting to same error Failed to CreateSetup I followed these instructions : http://blog.torresdal.net/2008/10/06/WiXAndDTFUsingABootstrapperToForceEleva tedPrivilegesInVista.aspx any advice? Thanks Jonathan Moore.

[WiX-users] Setupbld.exe Help Jonathan Moore

2008-10-13 Thread Hotmail
I'm having trouble with Setupbld.exe. I'm trying to make a bootstrapper. My command line is simply setupbld.exe -out Setup.exe -msu MyMsi.msi -setup Setup.exe Which gives me an error Failed to CreateSetup does anyone know what's going wrong. Jonathan Moore

[WiX-users] merge module with existing msi

2008-06-17 Thread Johan Feyaerts at hotmail
Hi, I developed an installer based on wix v3.0 that opens a custom dialog and does some license key checking with a custom action. I'd like to change this into a merge module that I could join with an msi generated by a visual studio 2008 setup project. I'd just want to link in the code for