[WiX-users] DTF: Managed Custom Action Dialog.

2009-03-10 Thread Murray Hipper
Hi Guys, I am trying to overcome the headaches involved with maintaining the dialogs for our MSI solutions and so have looked at the managed code path. While I know some of you will shun me for such a solution, I am merely experimenting with the concept of using managed code to overcome one of ou

[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 Bui

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

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 Ban

[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 of

[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: dsfasdfasdfasfsfsdf

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 say

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 [mailto:alex.iv

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 Wi

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 s

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. Subj

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... Th

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

2009-03-10 Thread Richard
In article , Christopher Karper 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 dependency on a file that's installed, then you have to schedule the CA after the fil

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'

[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 g

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/ ---

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

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] 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] 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] 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] 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] 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 Einstellungen\Temp\-n39ut1b\

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 sho

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 proper

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 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 fr

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 Win

[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 UI:

[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: I added an advertised Shortcut. A component which installs a file config xml to %appdata%\Notepad++ along with a

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 > prope

[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 us

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 produ

Re: [WiX-users] WIX shortcuts for ALLUSERS

2009-03-10 Thread Yu, Brian
Bob Thanks for the reply. I looked at the wix registry element and under the root attribute 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

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

2009-03-10 Thread Yan Sklyarenko
This works for me: Note that ExecSecureObjects, the deferred action which actually sets the permissions, is hardcoded to apply the permissions to the entire subtree, when it is used with element. This might affect the installation perform

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 Stefan -Ursprüngliche Nachricht- Von: xfishxi [mailto:xfis...@yeah.net] Gesendet: Dienstag, 10. März 2009 04:10 An: wix-users Betreff: [WiX-users] how to install Fonts in WIX? hi I'm use wix to generate my MSI Installer

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 https://lists.sourceforge.net