[WiX-users] [Wix-users]Why VS2005 compile fail using Wix3.5 SDK

2011-03-15 Thread JerryOELoo
Hi All: I am using VS2005 to generate a MSI package, After install Wix3.5 use new library files. Please check below code. #pragma comment(lib, "wcautil_2005.lib") #pragma comment(lib, "dutil_2005.lib") when I compile, it always links fail with below errors. dutil_2005.lib(fileutil

Re: [WiX-users] Removing Broken Installs Safely

2011-03-15 Thread Pally Sandher
MSIZap doesn't fix anything. All it does is remove the Windows Installer entries so your installer doesn't show up in Add/Remove Programs. Everything the installer did to your system is still there (files, registry entries etc) & I've seen more than one occasion where a user has screwed their syste

Re: [WiX-users] Removing Broken Installs Safely

2011-03-15 Thread Pally Sandher
Virtual PC has been freely downloadable from Microsoft since 2006 as has VMWare Server & I think VirtualBox may have been freely downloadable for longer. Bob A. wrote a blog post on using virtualization to test installation 3+ years ago -> http://www.joyofsetup.com/2007/09/24/test-your-setups-virtu

Re: [WiX-users] Multifeature filetype association

2011-03-15 Thread Pally Sandher
Here is the best place for WiX help. The actual WiX dev's such as Rob M, Bob A et al reply on a regular basis if other "learned" members haven't responded to a query. We also have people like Phil Wilson whom I believe (although he's never confirmed) wrote "The definitive guide to Windows Installer

Re: [WiX-users] [Wix-users]Why VS2005 compile fail using Wix3.5 SDK

2011-03-15 Thread Rob Mensching
Add version.lib to you link line as well. dutil uses version.dll now. On Tue, Mar 15, 2011 at 12:10 AM, JerryOELoo wrote: > > Hi All: > > I am using VS2005 to generate a MSI package, After install Wix3.5 use > new library files. Please check below code. > > > > #pragma comment(lib, "wcautil_

Re: [WiX-users] Custom Wix 3.5 PreprocessorExtension and debug messages

2011-03-15 Thread Rob Mensching
Never tried output console messages directly. I always use the core object to report messages. Are you sure that the extension is getting loaded? Did you add the appropririate project reference? Need a bit more detail about what you are doing to really be helpful. On Mon, Mar 14, 2011 at 5:27 AM,

Re: [WiX-users] Error while including fragment from a a legacy project...

2011-03-15 Thread Rob Mensching
What are the versions of WiX toolset you are working with? On Mon, Mar 14, 2011 at 1:09 PM, Gregg Swanson wrote: > I am converting a legacy WIX project to build under via MSBuild and the > IDE. I am receiving the following error message: > > The element 'Include' in namespace ' > http://schemas.m

Re: [WiX-users] IIS 7.5 fails to assigned custom app pool to WebSite

2011-03-15 Thread Rob Mensching
You should upgrade to the RTM drop of WiX v3.5 first. There were a number of bugs taken late in the IIS custom actions so what you are seeing may have changed... or it may have not. The final release of WiX v3.5 is what is supported, in any case. On Mon, Mar 14, 2011 at 12:56 PM, Hansel D'Ornell

Re: [WiX-users] Multifeature filetype association

2011-03-15 Thread Tobias S
Maybe some words to good sources. Unfortunately for the english speaking community they are all written in German. Andreas Kerl wrote several good books about Windows Installer. See http://www.installsite.biz/de/buecher.htm (German!) for an overview. There also the english speaking books for Window

[WiX-users] light.exe: error LGHT0182: cannot find table definiation for the 'Group' table

2011-03-15 Thread RAJ
Hi, I am trying to build msi package using light command, however I am getting following error, any help will be greatly appriciated. This is first time I am using wix.What other extension should I pass in parameter? light.exe : error LGHT0182 : Cannot find the table definitions for the 'Group' t

Re: [WiX-users] light.exe: error LGHT0182: cannot find table definiation for the 'Group' table

2011-03-15 Thread RAJ
Thanks. i am able to build now but getting error while building msi package through light command. what parameter is missing? Thanks for help. light.exe : error LGHT0182 : Cannot find the table definitions for the 'Group' t able. This is likely due to a typing error or missing extension. Please

Re: [WiX-users] Error while including fragment from a a legacy project...

2011-03-15 Thread Gregg Swanson
Rob, I am currently running with version 3.6.1328.0. Gregg -Original Message- From: Rob Mensching [mailto:r...@robmensching.com] Sent: Tuesday, March 15, 2011 8:08 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Error while including fragment from a

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

2011-03-15 Thread kim
-- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Error-26201-Error-2147467259-failed-to-create-SQL-database-tp6163225p6173147.html Sent from the wix-users mailing list archive at Nabble.com. --

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

2011-03-15 Thread kim
I am not sure why my code is not visible. when I edit my message I see the code there. Anyways I have attached .txt file having create database code from .wxs file http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/file/n6173167/CreateDatabaseScript.txt CreateDatabaseScript.txt --

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

2011-03-15 Thread kim
Michael, Can you please guide me on how should I check the file permissions for SQL Server? While installing SQL Express I did used NT AUTHORITY\NETWORK SERVICE account. thanks -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Error-26201-Error-21474

Re: [WiX-users] Multifeature filetype association

2011-03-15 Thread The Eligible Bachelors
Thanks for the input. Yes this is a single MSI with 3 features. I have tried the [#executable] idea, but I get an ICE69 error (MAINEXEC references invalid file).

[WiX-users] Is it Possible: Dialog Box Text Edit Control with Wrapped Text?

2011-03-15 Thread Robert Buck
Hello, I'd like to have a text control in a installer dialog that allows input of a database connection string. The database connection string can be rather long, so rather than have its text flow off into the nether world, I'd like to make the text box taller and have the text automatically wrap

Re: [WiX-users] Multifeature filetype association

2011-03-15 Thread Pally Sandher
You need to use either [#fileid] for a long path or [!fileid] for a short path. Since it's the same MSI there should be no need to mess about with Properties just change the TargetProperty to reference the File Id of the executable. The ICE69 error is because there's no File with Id of "MAINEXEC"

[WiX-users] Windows 7 MSI privileges

2011-03-15 Thread The Eligible Bachelors
This is mostly a MSI question and not too WiX specific. I am porting an old WiX (3.0) installer from XP to Windows 7. The installer needs to be run as an admin because makes several calls to external programs that need admin privileges (to register COM objects and such). Even when I am logged i

Re: [WiX-users] Windows 7 MSI privileges

2011-03-15 Thread Andy Clugston
What you are running into is UAC, Google it if you have not already. You need Execute="deferred" custom actions with Impersonate="no". This will allow your custom actions, and subsequent child processes that they create, to inherit the local system privileges of the Windows Installer service. The

Re: [WiX-users] Windows 7 MSI privileges

2011-03-15 Thread Skildum, Mathew
You can also force a true Administrator check in you install (set the property MSIUSEREALADMINDETECTION) if you do not have time to work around UAC. Mat Skildum -Original Message- From: The Eligible Bachelors [mailto:theeligiblebachel...@yahoo.com] Sent: Tuesday, March 15, 2011 11:04 AM

[WiX-users] Looking at .Net Version in Launch Conditions

2011-03-15 Thread Robert Hermann
I'm writing an installer that for a service that needs to have 3.5 SP1 to be installed. My wix logic is >From what I've read, when >fails, the dialog will be shown. When I run the install using /l*v , The log file show s Property(C): MsiNetAssemblySupport = 2.0.50727.3053

Re: [WiX-users] Windows 7 MSI privileges

2011-03-15 Thread Pally Sandher
Windows Installer should be requesting elevation when it tries to install your MSI. Have you set InstallPrivileges="elevated" in your Package Element? Is your MSI per-user or per-machine (InstallScope attribute of Package Element sets that). I've only used per-machine packages so if you're trying t

Re: [WiX-users] Looking at .Net Version in Launch Conditions

2011-03-15 Thread Pally Sandher
Use See http://wix.sourceforge.net/manual-wix3/check_for_dotnet.htm & http://wix.sourceforge.net/manual-wix3/wixnetfxextension.htm You'll also need to add a reference to the WixNetfxExtension.dll in your project or pass it to light.exe using the -ext switch to use those properties. Palb

Re: [WiX-users] Looking at .Net Version in Launch Conditions - I found my answer already

2011-03-15 Thread Robert Hermann
I found my answer already... -Original Message- From: Robert Hermann [mailto:rob.herm...@nicewareintl.com] Sent: Tuesday, March 15, 2011 11:32 AM To: 'wix-users@lists.sourceforge.net' Subject: [WiX-users] Looking at .Net Version in Launch Conditions I'm writing an in

Re: [WiX-users] Windows 7 MSI privileges

2011-03-15 Thread Wilson, Phil
and the OP shouldn't be self-registering anyway. Use Heat instead, and if it does happen to be a per-user install then the registration goes into HKCU for the installing user. Phil Wilson -Original Message- From: Pally Sandher [mailto:pally.sand...@iesve.com] Sent: Tuesday, Marc

Re: [WiX-users] Windows 7 MSI privileges

2011-03-15 Thread Pally Sandher
LOL I can't believe I missed that. I guess that's probably the core of his issues. Oh and working around UAC defeats the entire point of UAC. It's there for a reason, circumventing it makes you part of the reason why it was introduced in the first place. UAC doesn't do anything Microsoft haven't b

[WiX-users] [WIX_ACCOUNT_EVERYONE]

2011-03-15 Thread Naeem Ahmad
Hi, I am using [WIX_ACCOUNT_EVERYONE] I am trying to set Permission for service using http://p.sf.net/sfu/internap-sfd2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users

[WiX-users] One install for multiple OS

2011-03-15 Thread Robert Hermann
I've got an install for a backend service that needs to consider a couple of OS and then scenarios within that os. For the time being I need my project to first detect the os and if its not at least Windows 2003, to throw an error. If its Windows 2008 R2, then the install needs to detect if it

[WiX-users] Run the installer as administrator

2011-03-15 Thread Thai-Hoa Nguyen
Hello... My installer requires to run as administrator. What property can I set in Wix file to make the installer run as administrator? If it's not possible? Can the installer prompt an error if it is not run as admin? Thank you. -

Re: [WiX-users] One install for multiple OS

2011-03-15 Thread Chad Petersen
I think it is because your Conditions are not mutually exclusive. -Original Message- From: Robert Hermann [mailto:rob.herm...@nicewareintl.com] Sent: Tuesday, March 15, 2011 2:25 PM To: 'wix-users@lists.sourceforge.net' Subject: [WiX-users] One install for multiple OS I've got an instal

Re: [WiX-users] One install for multiple OS

2011-03-15 Thread Jeremy Farrell
And the problem is? > From: Robert Hermann [mailto:rob.herm...@nicewareintl.com] > > I've got an install for a backend service that needs to > consider a couple of OS and then scenarios within that os. > > For the time being I need my project to first detect the os > and if its not at least

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

2011-03-15 Thread Michael Osmond
Kim General guidance. Are you setting the file path for the MDF and LDF files of the database in the WIX code? I can't see this in the emails I get. If so the Account that the SQL Server service logs on as, will need to have write / modify access to the folders in the paths you specify. I