Re: [WiX-users] How to pass parameter to Custom Action

2009-03-10 Thread Prabhakaran Paulraj
Hi Nicholas, Thanks for the reply this is what i was looking for. Regards Prabhakaran -- ___ WiX-users mailing list WiX-users@lists.sourceforge.net

Re: [WiX-users] how to install Fonts in WIX?

2009-03-10 Thread Weber Stefan (IT)
Hi Vincent, for TrueType Fonts you can use this DirectoryRef Id=FontsFolder Component Id=InstallFonts Guid=YOUR-GUID-HERE File Id=font1.TTF Source=fonts\font1.ttf TrueType=yes / File Id=font2.TTF Source=fonts\font2.ttf TrueType=yes / /Component /DirectoryRef Stefan

Re: [WiX-users] Best way to add permissions to 'Temporary ASP.NET Files'

2009-03-10 Thread Yan Sklyarenko
This works for me: PropertyRef Id=NETFRAMEWORK20INSTALLROOTDIR/ DirectoryRef Id=NETFRAMEWORK20INSTALLROOTDIR Directory Id=TempASPNETFolder Name=Temporary ASP.NET Files Component DiskId=1 Id=DummyComponentForPermissionsTempAspnet Guid={YOURGUID-GOES-HERE-91BD-39CB098CF364}

Re: [WiX-users] Scheduling CreateFolders under AdminExecuteSequence (repost)

2009-03-10 Thread martin lavelle
My intention is to create empty folders during an Admin Installation. The deployed application can be ran by multiple users from a network location, or be deployed locally, and the application requires empty folders in both scenarios. I'm sorry if that was not clear. In my opinion the

[WiX-users] Which is the best method to install database VB Script or Custom Action

2009-03-10 Thread Prabhakaran Paulraj
Hi Everyone, I am back again with a small confusion. I need to install a new sql instance in the clients machine during deployment. In order to find the SQL Server name we need to have the hostname i got the host name, i got it through VB Script and also through the idea provided by Nicolas

Re: [WiX-users] WixToolPath variable

2009-03-10 Thread Kim Gybels
That means it wasn't finding the .wixlib. Can you paste the light.exe command line it's running? The light.exe command line does not mention the wixlib, although it is shown in the tree view of my setup project. You can't use WixToolPath in the additional options because that's a property

[WiX-users] Self repair of files in user profile

2009-03-10 Thread Weber Stefan (IT)
Hello, iam playing around with the self repair function of windows installer, but cant get it word like I expect it to work ;-) What I got so far is: File Id=_F_0001 Source=pfiles\notepad.exe Vital=yes KeyPath=yes Shortcut Id=_F_0001_S Name=Notepad++ Directory=DesktopFolder Advertise=yes

[WiX-users] Own UI-File

2009-03-10 Thread Bahn Thomas
Hello, I get an error from the compiler that I cant solve myself. I hope you can help me to solve my fault. The error message is: ICE20: Specified ErrorDialog: 'ErrorDlg' not found in Dialog table (or its Control_First control is not 'ErrorText'). in Line 32 Following the Source-Code of my

Re: [WiX-users] Trying to install 4 COM Plus DLLs

2009-03-10 Thread MacDiarmid, James D
Ok. How would I go about doing a search on the list archives. I see a search box on the page but that doesn't seem to be for the list archives. -Original Message- From: Fredrik Grohn [mailto:fredrik.gr...@microsoft.com] Sent: Monday, March 09, 2009 3:56 PM To: General discussion for

Re: [WiX-users] Own UI-File

2009-03-10 Thread Rob Hamflett
The ErrorDialog property refers to ErrorDlg, but this appears before ErrorDlg has been defined in the file. Have you tried moving the property definition to after the Dialog definition? I wouldn't have thought it matters, but who knows. Rob Bahn Thomas wrote: Hello, I get an error from

Re: [WiX-users] Multipe products

2009-03-10 Thread si
Hi Bob, As long as each product is installed to a different directory, you can have each product use the same component GUIDs; MSI lets different products install the same component to different directories. That's good to know, so when the wix tutorial says all component GUIDs have to be

Re: [WiX-users] Own UI-File

2009-03-10 Thread Bahn Thomas
I moved the Property tag after the definition of ErrorDlg. But the error still appears. Von: Rob Hamflett [...@snsys.com] Gesendet: Dienstag, 10. März 2009 15:51 An: wix-users@lists.sourceforge.net Betreff: Re: [WiX-users] Own UI-File The ErrorDialog

Re: [WiX-users] Installing files only if they exist

2009-03-10 Thread Nick Ball
Thanks for your help - I am now a bit further down the line. The installer doesn't know, it goes looking to see which cab files are available. In other words, if a customer orders db1 and db3, I want to ship them myapp.msi plus 2 cab files - db1.cab and db3.cab. The installer therefore only

Re: [WiX-users] Own UI-File

2009-03-10 Thread Bahn Thomas
This is not the only error i have seen: ICE20: ICE Internal Error 102. API Returned: 1615. C:\Dokumente und Einstellungen\Thomas Bahn\Lokale Einstellungen\Temp\4qt3fci1\Cic.P04.WiXSetup.msi ICE20: Error 2228: C:\Dokumente und Einstellungen\Thomas Bahn\Lokale

Re: [WiX-users] Disk usage

2009-03-10 Thread Simon Topley
Hey Bob, I've only just got around to having another look at this. I have grouped features now sadly there is still a mystery that needs some detective work. I have now set all the features I install to expand so I could see where the space was going. I notice that the disk usage dialog lists a

Re: [WiX-users] Scheduling CreateFolders under AdminExecuteSequence (repost)

2009-03-10 Thread Bob Arnson
martin lavelle wrote: My intention is to create empty folders during an Admin Installation. That's not how an admin installation works: It's essentially just your source media laid out. MSI enforces restrictions on actions in the AdminExecuteSequence table; see Suggested AdminExecuteSequence

Re: [WiX-users] WixToolPath variable

2009-03-10 Thread Bob Arnson
Kim Gybels wrote: The light.exe command line does not mention the wixlib, although it is shown in the tree view of my setup project. Check its properties to make sure it's not marked to include in the output. So all variables get expanded when the property is created and not when the

Re: [WiX-users] Disk usage

2009-03-10 Thread Bob Arnson
Simon Topley wrote: volume information.. relating to restore points I think. Is it possible the disk usage dialog is taking this into account aswell? It's possible, yes. MSI accounts disk costs for files that won't be replaced, the size of its temporary files, the size of its cached copy

Re: [WiX-users] Own UI-File

2009-03-10 Thread Bob Arnson
Bahn Thomas wrote: Einstellungen\Temp\-n39ut1b\Cic.P04.WiXSetup.msi, ControlEvent, SELECT The problem is that your UI is just the controls with no actions; the ErrorDialog dialog must have implementation behind it. -- sig://boB http://joyofsetup.com/

Re: [WiX-users] WIX shortcuts for ALLUSERS

2009-03-10 Thread Bob Arnson
Yu, Brian wrote: HKCU Operation occurs under HKEY_CURRENT_USER. It is recommended to set the KeyPath='yes' attribute when setting this value in order to ensure that the installer writes the necessary registry entries when there are multiple users on the same computer. Does it mean if I have

Re: [WiX-users] The msi file version generated by wix3

2009-03-10 Thread Bob Arnson
Shenhua GU wrote: How does wix3 make sure the msi file generated can be run with windows installer 3.1? You can use Package/@InstallerVersion to mark a package as requiring a certain version of MSI. -- sig://boB http://joyofsetup.com/

[WiX-users] DTF CA with pInvoke Interop

2009-03-10 Thread Christopher Karper
I have a CA written in C#, which is pInvoking a native dll that I'm supplying. This doesn't work in an installer when I'm actually installing. I can run a test that calls the function from outside the installer DB, and it works fine, but when running in the context of the actual installer, I'm

Re: [WiX-users] Multipe products

2009-03-10 Thread Bob Arnson
si wrote: That's good to know, so when the wix tutorial says all component GUIDs have to be unique. it's only per product rather than per msi db? Component guids are a global resource but can be shared among products for components with different resources. It's not safe to say they're

Re: [WiX-users] DTF CA with pInvoke Interop

2009-03-10 Thread Richard
In article b63998890903101103u266c965fmcd2c6648c85a5...@mail.gmail.com, Christopher Karper christopher.kar...@gmail.com writes: I have a CA written in C#, which is pInvoking a native dll that I'm supplying. This doesn't work in an installer when I'm actually installing. If your CA has a

Re: [WiX-users] DTF CA with pInvoke Interop

2009-03-10 Thread Christopher Karper
I'm actually carrying around the native file as an embedded resource in my managed .dll. It deploys it during it's static constructor if needed. The file is deploying as expected, and depends shows that everything it needs is there. The dll loads, and the function is called and executes...

Re: [WiX-users] Detecting Server 2008 Core

2009-03-10 Thread Chad Petersen
This looked interesting http://blog.deploymentengineering.com/2008/04/detecting-windows-server-2 008-installed.html -Original Message- From: Alex Ivanoff [mailto:alex.ivan...@shavlik.com] Sent: Monday, March 09, 2009 3:14 PM To: General discussion for Windows Installer XML toolset.

Re: [WiX-users] DTF CA with pInvoke Interop

2009-03-10 Thread Christopher Karper
FWIW, we got ti to stop blowing up. The native function was returning a string, and we tried a bunch of different variants, but when we changed to Halloc the memory for the string, it stopped crashing. Note, this pInvoke call worked fine in any other instance in any configuration. Not really

Re: [WiX-users] Detecting Server 2008 Core

2009-03-10 Thread Alex Ivanoff
I would not use the suggested explorer.exe trick. What if Windows Server team decides to add explorer interface to Windows Server 2008 Core SP2? -Original Message- From: Chad Petersen [mailto:chad.peter...@harlandfs.com] Sent: Tuesday, March 10, 2009 14:28 To: General discussion for

Re: [WiX-users] Detecting Server 2008 Core

2009-03-10 Thread Chad Petersen
Well, I didn't say without fault, just interesting. As you say, Microsoft is free to change the playing field at any time. And they often do. It'd probably start looking at a CA to accomplish since there doesn't seem to be a pat method. -Original Message- From: Alex Ivanoff

Re: [WiX-users] Detecting Server 2008 Core

2009-03-10 Thread Alex Ivanoff
Would it be a good addition to WiX extensions? -Original Message- From: Chad Petersen [mailto:chad.peter...@harlandfs.com] Sent: Tuesday, March 10, 2009 15:41 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Detecting Server 2008 Core Well, I didn't

[WiX-users] Adding Custom Attributes to the Directory Element

2009-03-10 Thread jnewton
Is it possible to add custom attributes to the Directory element? I can add custom attributes to other elements like Features, Components, etc. Maybe its something with my schema? I tried the following but nothing worked: xs:element name=Directory xs:complexType xs:attribute

[WiX-users] How to reference a wixproj from a csproj

2009-03-10 Thread Alex Trigo
Hi, Hope you are doing great. This is my first post on the user list :). I have a question for you. How can I reference a wixproj from a csproj. I want to do this because currently I'm building a nice external UI for my project's setup... and among other things I have the requirement

Re: [WiX-users] How to reference a wixproj from a csproj

2009-03-10 Thread Castro, Edwin (Hillsboro)
The Csc task expects ProjectReference items to resolve to projects whose output is a .NET assembly. Visual Studio solutions allow you to specify non-ProjectReference dependencies. I don't understand what you mean by traversal project. Edwin G. Castro Software Developer - Staff Electronic

Re: [WiX-users] how to install Fonts in WIX? (Weber Stefan (IT))

2009-03-10 Thread xfishxi
hi Stefan, thanks for your help, i follow your advise and do it again, unfortunately it failed , the two fonts can't copy(install) to the %WINDOWS%\FONTS , how can i do? thanks vincent Hi Vincent, for TrueType Fonts you can use

[WiX-users] add version number with msi

2009-03-10 Thread Tency Kuruvilla
dear how to automate version number? -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex