Re: [WiX-users] defining a dialogue

2008-10-03 Thread Richard
In article <[EMAIL PROTECTED]>, Rob Mensching <[EMAIL PROTECTED]> writes: > Windows Installer uses dialog units. Actually, it doesn't. It uses Installer Units, which are not the same as Dialog Units. See the Remarks section at

Re: [WiX-users] launch condition query

2008-10-03 Thread Richard
In article <[EMAIL PROTECTED]>, "Sean Farrow" <[EMAIL PROTECTED]> writes: > Basically I have an installation I wrote for the same product, if this > installation exists, a registry key will tell me, I want to run the > uninstallation. > What is the best way of doing this? Why not treat you

Re: [WiX-users] Logging from a Custom Action during the UI phase

2008-10-02 Thread Richard
In article <[EMAIL PROTECTED]>, "Michael Urman" <[EMAIL PROTECTED]> writes: > If you're looking for a quick non-debugger method, property changes > are still logged. It may be a hack, but calling MsiSetProperty(hMSI, > _T("LOGME"), _T("...")) is effective. Another option is to call OutputDe

Re: [WiX-users] COM registration weirdness

2008-10-01 Thread Richard
In article <[EMAIL PROTECTED]>, "Neil Sleightholm" <[EMAIL PROTECTED]> writes: > Have you ever generated the WiX registry code for > VB6 COM component? Has anyone? Oh, I almost forgot -- yes, I have registered VB6 COM components manually by populating the Class, etc., tables. I haven't don

Re: [WiX-users] COM registration weirdness

2008-10-01 Thread Richard
In article <[EMAIL PROTECTED]>, "Neil Sleightholm" <[EMAIL PROTECTED]> writes: > Richard > > >> The answer to that is pretty simple -- you ignore anything that's not > >> related to your component. > > I think you are missing the

Re: [WiX-users] COM registration weirdness

2008-10-01 Thread Richard
In article <[EMAIL PROTECTED]>, "Neil Sleightholm" <[EMAIL PROTECTED]> writes: > The key issue here is what do you need to exclude when registering a VB6 > DLL or is it possible to monitor it so we find the key information. Can > you recommend a registry monitoring tool that works for VB6 DL

Re: [WiX-users] COM registration weirdness

2008-10-01 Thread Richard
In article <[EMAIL PROTECTED]>, Rob Mensching <[EMAIL PROTECTED]> writes: > Note, those actions are only necessary if you are using the Advertised > features of COM registration otherwise it's all just Registry rows. True. So let me state it another way -- is there an ICE that fails if you

Re: [WiX-users] COM registration weirdness

2008-10-01 Thread Richard
In article <[EMAIL PROTECTED]>, "Evans, Jim" <[EMAIL PROTECTED]> writes: > Interestingly, ProcMon (the successor to RegMon) was no help here, as > all of the registration calls were being sent to HKEY_CLASSES_ROOT, > which does not differentiate between which elements are going to the > user

Re: [WiX-users] COM registration weirdness

2008-10-01 Thread Richard
In article <[EMAIL PROTECTED]>, "Troy Howard" <[EMAIL PROTECTED]> writes: > [...] The default sequence doesn't > include the com registration actions that read the class table/etc. IMO, that seems like a bug in WiX. IIRC, the recommended default install sequence *does* include all the regi

Re: [WiX-users] COM registration weirdness

2008-10-01 Thread Richard
In article <[EMAIL PROTECTED]>, "Neil Sleightholm" <[EMAIL PROTECTED]> writes: > All regsvr32 does is call DllRegisterServer on the DLL, what happens in = > here is voodoo! It is perfectly legal to d anything you want in this = > call and is the reason why self registration is frowned upon.

Re: [WiX-users] COM registration weirdness

2008-09-30 Thread Richard
In article <[EMAIL PROTECTED]>, "Neil Sleightholm" <[EMAIL PROTECTED]> writes: > >> By the time it's a COM object, VB6 or C++ it doesn't make any > >> difference. > > That is a nice theory [...] Its not a theory. An OCX from VB6 is just a DLL with a well defined entry point for registerin

Re: [WiX-users] COM registration weirdness

2008-09-30 Thread Richard
In article <[EMAIL PROTECTED]>, "Troy Howard" <[EMAIL PROTECTED]> writes: > So, in my efforts to resolve the .Net COM issues, [...] Earlier, this thread was talking about registering a VB6 control. Now you're talking about registering a .NET assembly for COM interop. So which is it? I've

Re: [WiX-users] COM registration weirdness

2008-09-29 Thread Richard
In article <[EMAIL PROTECTED]>, Rob Mensching <[EMAIL PROTECTED]> writes: > If anyone does figure it out, it'd be good to understand what is going on. > I don't know VB (let alone VB6) and things work great for my C++/ATL based > COM objects. By the time its a COM object, VB6 or C++ it does

Re: [WiX-users] Insert error

2008-09-26 Thread Richard
> I'm using DTF to insert a new row into an empty CustomAction table. I'm > using the following block of code : > > RunMSIQuery(txtMSI.Text, "INSERT INTO `CustomAction` (`Action`, `Type`, > `Source`, `Target`) VALUES ('VisionappSecurityGroup', 51, > 'SecurityGroup', 'v-[NtName]')" > > public stat

Re: [WiX-users] Wix Add Dialog to prompt for username and pwd

2008-09-26 Thread Richard
In article <[EMAIL PROTECTED]>, "Yu, Brian" <[EMAIL PROTECTED]> writes: > I tried the following settings to generate a user and give it admin > rights but failed miserably > I don't see the new user created. Please help I don't see anything wrong with the markup; what does the log say? --

Re: [WiX-users] How to Skip Licence Aggrement Dialog from FreatureTree UI

2008-09-26 Thread Richard
The basic problem here is that when you set up conditions on a Next button to take you to one of N possible dialogs, you have to set up reverse conditions on the Back button of the N dialogs to take you back to the appropriate dialog based on the condition. As the number of dialogs and conditions

Re: [WiX-users] Using single Dialog to change various paths.

2008-09-25 Thread Richard
In article <[EMAIL PROTECTED]>, Sergey Abakumoff <[EMAIL PROTECTED]> writes: > However, BrowseDlg always shows SAMPLESDIR folder, it doesn't matter that > button was clicked - ProgramFilesBrowse or SamplesBrowse. Don't use DoAction to change the property, use a property setting control even

Re: [WiX-users] Re -using Dialogs

2008-09-24 Thread Richard
In article <[EMAIL PROTECTED]>, Dean Ward <[EMAIL PROTECTED]> writes: > I'm currently creating some custom actions using DTF that also have some > custom UI stored in a .wixlib. Right now these have some well-known > properties that are used. However, I have a situation where I have the same

Re: [WiX-users] WiX UI / Spawn dialog position

2008-09-18 Thread Richard
In article <[EMAIL PROTECTED]>, Andy2k8 <[EMAIL PROTECTED]> writes: > Is there any way i can control the way dialogs are positioned on the screen? Take a look at the HCentering and VCentering columns in the Dialog table. These are exposed as the X and Y attributes of the Dialog element in

Re: [WiX-users] How can i select a file through bowse dialog

2008-09-16 Thread Richard
In article <[EMAIL PROTECTED]>, "Sandeep Gautam (HCL Technologies Ltd)" <[EMAIL PROTECTED]> writes: > I want to select a particular(txt or XML) file in between of my > installation. I am able to reach upto particular folder but can not > select any file in that f older. The best way to loc

Re: [WiX-users] Wix Add Dialog to prompt for username and pwd

2008-09-15 Thread Richard
In article <[EMAIL PROTECTED]>, "Yu, Brian" <[EMAIL PROTECTED]> writes: > Apologies. I got mixed up. I was trying to change the logo and look of > the msi > And I thought I might as well get user to enter some randown user > Then use wix to grant the necessary permissions. Its better to gen

Re: [WiX-users] Wix Add Dialog to prompt for username and pwd

2008-09-12 Thread Richard
In article <[EMAIL PROTECTED]>, "Yu, Brian" <[EMAIL PROTECTED]> writes: > I am struggling to find a good example to follow to insert a dialog box > to prompt for service account user name and password. Umm... haven't we come full circle now? The whole point of what I'm saying is that you s

Re: [WiX-users] Wix Add Dialog to prompt for username and pwd

2008-09-12 Thread Richard
I wrote: > OK, looking at the element, it doesn't let you identify a > group by its well-known SID [...] In article <[EMAIL PROTECTED]>, Rob Mensching <[EMAIL PROTECTED]> writes: > Yeah, the only thing that does "friendly-name" resolution of a bunch of > Group s is the PermissionEx stuff.

Re: [WiX-users] Wix Service - grant logon rights

2008-09-11 Thread Richard
In article <[EMAIL PROTECTED]>, Rob Mensching <[EMAIL PROTECTED]> writes: > Services don't get logon rights. Users do. True, but services do run as a particular user. By default this is "system" IIRC, but its a gigantic security hole to run your services as system. Best practice is to cr

Re: [WiX-users] Wix Add Dialog to prompt for username and pwd

2008-09-11 Thread Richard
In article <[EMAIL PROTECTED]>, Bob Arnson <[EMAIL PROTECTED]> writes: > Richard wrote: > > Where is this extension documented? I get a file not found when > > attemping to access this URL. > > > > In WiX.chm. The schema namespace is just for u

Re: [WiX-users] How to invoke InstallUtil.exe

2008-09-09 Thread Richard
What's in your Installer derived class? -- "The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download Legalize Adulthood! ---

Re: [WiX-users] Wix Add Dialog to prompt for username and pwd

2008-09-08 Thread Richard
In article <[EMAIL PROTECTED]>, "Eitan Behar" <[EMAIL PROTECTED]> writes: > This is how you can create a user, and add it to the admin group: > > You need the util extension: > > xmlns:util=http://schemas.microsoft.com/wix/UtilExtension> Where is this extension documented? I get a file n

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

2008-09-05 Thread Richard
In article <[EMAIL 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 the

Re: [WiX-users] How to fire event without waiting for focus change

2008-09-05 Thread Richard
The best way to get the least confusing behavior is to have the validity checks done when Next is clicked. If the validity checks fail, display a modal dialog box displaying the error message and don't transition to the next dialog box in the wizard sequence. Otherwise, transition to the next dia

Re: [WiX-users] Wix Add Dialog to prompt for username and pwd

2008-09-05 Thread Richard
In article <[EMAIL PROTECTED]>, "Yu, Brian" <[EMAIL PROTECTED]> writes: > I read section 8 of http://www.tramontana.co.hu/wix/lesson8.php but > there's no mention on how to write a dialog box that prompts for user > name and password and use them to register COM+. Its never a good idea to p

Re: [WiX-users] String Replace Custom action

2008-09-04 Thread Richard
In article <[EMAIL PROTECTED]>, Mark Otterlee <[EMAIL PROTECTED]> writes: > In Wix 2.0 Is there a custom action for replacing a value in a 'Text' > file wi th a value provided in the installer (like XmlConfig but changing > a value in a 'text' file). Any help will be greatly appreciated.

Re: [WiX-users] COM registration weirdness

2008-09-02 Thread Richard
In article <[EMAIL PROTECTED]>, "Tony Juricic" <[EMAIL PROTECTED]> writes: > I know this approach is not officially recommended but it is hard to see > what some third-party COM servers do with the Registry. RegMon will reveal all. You can get it from the sysinternals portion of Microsoft'

Re: [WiX-users] COM registration weirdness

2008-09-02 Thread Richard
In article <[EMAIL PROTECTED]>, "Evans, Jim" <[EMAIL PROTECTED]> writes: > I know this isn't the exact forum for this, but I'm really confused and > don't know where else to turn. I'm in the process of moving our > installer to an msi-based install using WiX. Our application is fairly > comp

Re: [WiX-users] How do I execute deferred CAs (forunit testingcustom actions)?

2008-09-02 Thread Richard
In article <[EMAIL PROTECTED]>, "dB." <[EMAIL PROTECTED]> writes: > We're entering a philosophical debate of where custom actions start and > end. As far as the code goes, custom actions start at their entry point and end when they return to the Windows Installer engine. Unit testing them

Re: [WiX-users] VBScript CA Object not supported error

2008-08-29 Thread Richard
In article <[EMAIL PROTECTED]>, Andy2k8 <[EMAIL PROTECTED]> writes: > option explicit > > Dim fso,InstallPath,tmp,res > > Set installer = CreateObject("WindowsInstaller.Installer") > Set fso = CreateObject("Scripting.FileSystemObject") > > InstallPath = Property("INSTALLDIR") > > tmp = M

Re: [WiX-users] How do I execute deferred CAs (for unit testingcustom actions)?

2008-08-21 Thread Richard
In article <[EMAIL PROTECTED]>, "dB." <[EMAIL PROTECTED]> writes: > I just saw your reply. Thanks. > > Your approach is the shim one that we eventually abandoned because > implementing the more complex MSI functions was a lot of work. Check out > http://code.dblock.org/ShowPost.aspx?id=7, w

Re: [WiX-users] How do I execute deferred CAs (for unit testing custom actions)?

2008-08-19 Thread Richard
In article <[EMAIL PROTECTED]>, "dB." <[EMAIL PROTECTED]> writes: > I still don't know how to launch deferred CAs (Anyone? Please?), > [...] Didn't I already answer you on the MSI newsgroup? -- "The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download

Re: [WiX-users] How to author a patch to remove launch conditions of RTM msi

2008-08-11 Thread Richard
In article <[EMAIL PROTECTED]>, "Shawn Dwyer" <[EMAIL PROTECTED]> writes: > This seems like a simple thing to do, but I am new to patches and don't know > where to start. How do I go about authoring a patch to remove launch > conditions? Make an administrative image of your deployed produc

Re: [WiX-users] Equivalent of UPGRADINGPRODUCTCODE under MSI < 4.0

2008-08-11 Thread Richard
In article <[EMAIL PROTECTED]>, "dB." <[EMAIL PROTECTED]> writes: > I just realized that UPGRADINGPRODUCTCODE is an MSI 4.0 thing. How can I > detect that the product is being uninstalled during a major upgrade for > old versions of MSI? Hmm... are you sure its only MSI 4? I swear I used t

[WiX-users] GenericRead doesn't work in FileSharePermission

2008-08-05 Thread Richard Ho (Insight Global)
I try to assign GenericRead in FileSharePermission. Somehow it doesn't work. It would create the acct over the share only. However GenericAll works fine. Is it a bug in WIX? Thanks, Ri

Re: [WiX-users] User Defined File Sources

2008-08-04 Thread Richard
In article <[EMAIL PROTECTED]>, David Gonzalez <[EMAIL PROTECTED]> writes: > There are a bunch of files which the installer needs to add to the > user's mac hine, but the directory of where these "source files" are, > is going to be a val ue set by the user in the initial steps of the > inst

Re: [WiX-users] Help on type 19 custom action

2008-07-29 Thread Richard
In article <[EMAIL PROTECTED]>, Anidil <[EMAIL PROTECTED]> writes: > I'm trying to write a type 19 custom action to abort installation and > display a formatted message from the target column..Can anybody help me on > this? I need to throw a message based on the return value of another custo

Re: [WiX-users] GUID generation in WiX

2008-07-28 Thread Richard
In article <[EMAIL PROTECTED]>, "Erik Garcia" <[EMAIL PROTECTED]> writes: > Pardon my french, but why the frak would you want to do something > nondeterministic in a setup/installation package? Perhaps you want to uniquely identify each install for bug reporting purposes. -- "The Direct3D

Re: [WiX-users] Dialog: Set a Property conditionally

2008-06-29 Thread Richard
In article <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> writes: > I have a radiobuttongroup (see below) and I would like to set the Property > INSTALLTYPE=0 when the RadioButtonGroup is disabled (Condition: NOT > (DEVICETYPE = "0" OR DEVICETYPE = "7")). How can I do this? Use a control event on

[WiX-users] RadioButton bizarreness

2008-06-26 Thread Richard Mitchell
UI... The radio button group [3] on dialog [2] has fewer than 2 buttons. What say the panel? Should it behave in this unseemly manner or am I simply being a dumb brit? -- Richard Mitchell Project Manager Red Gate Software Ltd -

Re: [WiX-users] conditionally show msg box

2008-06-05 Thread Richard
In article <[EMAIL PROTECTED]>, ywchen <[EMAIL PROTECTED]> writes: > I have another question about the sequence of the dialogs in my wxs file > listed below. Why is WelcomeDlg displayed first? If a dialog is listed as an action in the InstallUISequence table, then that dialog is displayed.

Re: [WiX-users] conditionally show msg box

2008-06-05 Thread Richard
In article <[EMAIL PROTECTED]>, "Simon Dahlbacka" <[EMAIL PROTECTED]> writes: > I don't know about the actual issue, but as you might guess from looking at > a snippet of xml, the > character is in fact a special one that needs > escaping > so either > Intel > 5 > or > > > > is more likel

Re: [WiX-users] conditionally show msg box

2008-06-04 Thread Richard
In article <[EMAIL PROTECTED]>, ywchen <[EMAIL PROTECTED]> writes: > I am trying to display CancelDlg if Intel > 5. But I got the following > error during compilation. > > error LGHT0204 : ICE03: Not a valid foreign key; > Table: ControlEvent, Column: Control_, Key(s): > Can

Re: [WiX-users] conditionally show msg box

2008-06-04 Thread Richard
In article <[EMAIL PROTECTED]>, ywchen <[EMAIL PROTECTED]> writes: > I want to display a confirmation (yes/no) message box if the CPU is > slower than Intel Pentium II or the equivalent. If the user clicks Yes > button, the installer will continue. Otherwise, the installer will jump to >

Re: [WiX-users] Improve the WiX mailing list

2008-06-02 Thread Richard
This FAQ may also be of assistance: -- "The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download Legalize Adulthood!

[WiX-users] Installing drivers with subdirectories

2008-05-28 Thread Richard Amos
to get the subdirectories installed into the DriverStore directory. Very frustrating that this should be so hard - given that I see many installer file sets that have subdirectories. >Richard, > >Just create normal components for the two subdirectories, and a third >component just

Re: [WiX-users] How can I preserve service credentials on upgrade (with complications)?

2008-05-27 Thread Richard
In article <[EMAIL PROTECTED]>, Bob Arnson <[EMAIL PROTECTED]> writes: > See Rich's reply: You can patch the existing product but that's still > not going to give you silent uninstall/reinstall. I guess I'm not seeing why it can't be a silent upgrade... -- "The Direct3D Graphics Pipeline"

[WiX-users] Installing driver when the installer files include subdirectories

2008-05-27 Thread Richard Amos
I've been using the difx:Driver tag to installer a scanner driver - got that working OK. Now I'd like to installer a printer driver using the same technology. The problem is that when I unzip the printer install files it has two subdirectories under the root directory (containing the INF file).

Re: [WiX-users] How can I preserve service credentials on upgrade (with complications)?

2008-05-27 Thread Richard
Another alternative is to patch the old installer to know about upgrading before you upgrade it. This requires a bootstrapper to apply the patch to the old version before you upgrade it, but its something that I've done before to patch deficiencies in the old version that interfered with the upgr

Re: [WiX-users] service fail to install due to networkService account

2008-05-22 Thread Richard
In article <[EMAIL PROTECTED]>, zhisheng huang <[EMAIL PROTECTED]> writes: > Solved. The network service account needs to be specified with its domain. Its generally bad practice to install services running as either local system or network service. The best practice is to create an accoun

[WiX-users] Modifying/creating a text file

2008-05-20 Thread Richard Amos
I'd like to be able to modify a text file during the installation process. Basically I need to replace an existing string with one I'll only know at install time. The file is a batch file (i.e. not INI or XML). How could I go about this? - Sent from Yaho

Re: [WiX-users] wixunit?

2008-05-15 Thread Richard
In article <[EMAIL PROTECTED]>, Rob Mensching <[EMAIL PROTECTED]> writes: > To answer your actual question, we don't really have any tools to do testin= > g on MSIs today in the WiX toolset. There is the "static analysis stuff" (= > ICEs, via light.exe or smoke.exe) but nothing that verifie

Re: [WiX-users] yep - back to being 100% frustrated

2008-05-12 Thread Richard
In article <[EMAIL PROTECTED]>, "Chris Mumford" <[EMAIL PROTECTED]> writes: > So now I'm rewriting one of my installations (which has always had issues) > and I'm going to try to do it "right" with WiX. So I get it to install a few > files in the right folder, and my very next step is to cre

Re: [WiX-users] yep - back to being 100% frustrated

2008-05-12 Thread Richard
In article <[EMAIL PROTECTED]>, "Markus Kuehni" <[EMAIL PROTECTED]> writes: > 1. learn how to write custom actions and use them liberally Disagree > 2. learn how to write custom dialogs and use them liberally Use custom dialogs only when needed; most projects don't need them. > 3. forget

[WiX-users] Setting INSTALLLOCATION to "[WindowsVolume]"

2008-05-12 Thread Richard Amos
I currently have the following (default) directory setup: This offers (via the UI) the default installation directory C:\Program Files\WixProject1\ How can I get the default to be the windows volume (e.g. C:\)? Leaving it blank produces the root volume, which is picking up a USB

[WiX-users] Running an action *after* rebooting

2008-05-11 Thread Richard Amos
I'd like to launch a configuration utility *after* a ScheduleReboot, but, as the ScheduleReboot doesn't have an ID, how to I tell the custom action that launches the utility to run *after* the reboot? - Sent from Yahoo! Mail. A Smarter Email.--

[WiX-users] Display an information dialog just before the end of the installation

2008-05-10 Thread Richard Amos
I'm launching a third party setup program at the end of my installation via: NOT Installed As there's not option for a silent install, I'd like to display an information dialog just before this happens - so that the user knows that they are about to be presented with another setup program. Pr

[WiX-users] Changing the screen resolution

2008-05-08 Thread Richard Amos
Anyone know how to change the screen resolution via an installer? We have a corporate tool that works best at a particular resolution (...yeah, I know...). As it's the only thing that runs on the machines it's installed on, it would be good to alter the screen resolution as part of the installat

Re: [WiX-users] How do you get an msi's filename?

2008-05-05 Thread Richard
In article <[EMAIL PROTECTED]>, "Bir, Steve" <[EMAIL PROTECTED]> writes: > We are attempting to seed a server IP address by adding it into the name > of the msi. We have an msi that is being deployed from a Linux Appliance > and when the appliance starts we need to somehow add into the msi t

Re: [WiX-users] How do you get an msi's filename?

2008-05-03 Thread Richard
In article <[EMAIL PROTECTED]>, Bob Arnson <[EMAIL PROTECTED]> writes: > It can also cause unnecessary prompts for source, so should be used only > when necessary. Right. And like I said, I've done *tons* of things in MSI and *never* needed this property. In programming, there are many w

Re: [WiX-users] How do you get an msi's filename?

2008-05-02 Thread Richard
Yes, we can guess at things, but until the original poster says *why* they want the MSI filename, we'll never know. -- "The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download Legalize Adulthood!

Re: [WiX-users] How do you get an msi's filename?

2008-05-02 Thread Richard
In article <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> writes: > You might want to check the MSDN docs regarding the OriginalDatabase property Of course in all the crazy MSI stuff that I've done, I've never needed the OriginalDatabase property once. Not ever. That leads me to wonder why the

Re: [WiX-users] How do you get an msi's filename?

2008-05-02 Thread Richard
In article <[EMAIL PROTECTED]>, "Bir, Steve" <[EMAIL PROTECTED]> writes: > Is it possible to get the filename of the msi at the time that it's run > inside of a custom action written in C? Why do you think you need it? Chances are you're trying to do something the hard way when there is a

Re: [WiX-users] How do I execute a custom action before a dialog?

2008-05-01 Thread Richard
In article <[EMAIL PROTECTED]>, Bob Arnson <[EMAIL PROTECTED]> writes: > > again? If so, how do I do that? (I can try to hookup the CA on next > > and prev buttons around this dialog, but it sounds like too much work). > > That's probably the easiest/best way. There's no "initdialog" event

Re: [WiX-users] Managed custom actions in Wix 3

2008-04-29 Thread Richard
In article <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> writes: > I don't feel so bad about my managed CA when I hear about InstallShield > suppo rting them. LOL! That gives me even more confidence that I am right in counseling people to avoid them. -- "The Direct3D Graphics Pipeline" -- Dire

Re: [WiX-users] Managed custom actions in Wix 3

2008-04-29 Thread Richard
In article <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> writes: > I have head people preach dillegently about the evil of managed custom action s. The evil stems from the way .NET, the GAC, Windows and the MSI runtime interact. Its not the custom action per se, but the way that .NET code will

[WiX-users] Skipping the installation of a file if the existing file is newer

2008-04-23 Thread Richard Amos
Is there anyway to skip the installation of a file if the file already exists and is newer? I'm thinking, for example, of the case where a DLL in System32 already exists. In a similar vein, can you skip the installation of a file if the file already exists - regardless of which is newer?

[WiX-users] Installing all files in a directory with a single command?

2008-04-23 Thread Richard Amos
Can you instruct WiX to install all files in a directory with a single tag? I'd like to do something like the following (InnoSetup): Source: "C:\PRODUCT\EXAMPLES\*.*"; DestDir: "{app}\EXAMPLES\"; CopyMode: alwaysoverwrite I know you can use heat.exe to enumerate the files, if one of the team ad

[WiX-users] Putting component files in different directories?

2008-04-22 Thread Richard Amos
Can you place files that are in the same component in different directories? If so, how is it done? If you can't do this, what is the philosophy that lead to it being prohibited? - Sent from Yahoo! Mail. A Smarter Email.

Re: [WiX-users] Duplicate component GUIDs

2008-04-17 Thread Richard
In article <[EMAIL PROTECTED]>, "Brent Rockwood" <[EMAIL PROTECTED]> writes: > Last night I fixed a bug in my installer where I had accidentally > duplicated GUIDs on two different components. Luckily I caught this > before we ship, but if I had missed it, it would obviously have been a > b

[WiX-users] Query user for a user ID and password?

2008-04-16 Thread Richard Amos
I'm writing an installer for a Windows service. It has to run under Vista, so it's non interactive. This service needs to have the user ID and password of a web service to do it's business. That info is stored (encrypted) in an XML config file. I have to ask the user/installer for the user ID a

[WiX-users] Getting a version number on the MSI file

2008-04-08 Thread Richard Amos
What does the Version attribute in the Product tag do? I have a ,NET (3.5) app that I'm creating an installer for. When the app is installed, it has the version number (obtained by right clicking on the file in Explorer) I set using VS2008 (which is fine - that's what I want). However, there is

[WiX-users] Can't install votive under VS2008 Pro

2008-04-06 Thread Richard Amos
When trying to install Votive I get the message that it can't be installed because VS Standard Edition or higher is not installed. I have VS 2008 *Pro*. I'm trying to install Wix-3.0.2925.0.msi. Any advice? - Yahoo! for Good helps you make a difference--

[WiX-users] EmbeddedChainer and Bootstrappers

2008-03-05 Thread Richard Bain
Hi, I'm trying to recreate an old installshield installer with WiX (I'm still new to both WiX and Windows Installer). The idea is that the 'core' platform and the 'apps' section of our program will be split into essentially two serperate programs with the 'core' part being a prerequisite to ins

Re: [WiX-users] Signal a win32 event?

2008-03-04 Thread Richard
In article <[EMAIL PROTECTED]>, "jeff davis" <[EMAIL PROTECTED]> writes: > I can create a custom action that calls an export from the dll I install, > and the exported function signals the event. However, I would also like to > signal an event if the installation fails. Is there a way I ca

Re: [WiX-users] Registering COM and .Net assemblies in WiX

2008-03-02 Thread Richard
In article <[EMAIL PROTECTED]>, Stas Klyachkovsky <[EMAIL PROTECTED]> writes: > During the setup I need to registry some COM dlls as well as some .Net asse= > mblies (regsvr32 and regasm). > How can I do this in WiX? Yes use the COM and/or Registry tables to do this. DO NOT use a custom ac

Re: [WiX-users] Does MSI require JRE?

2008-02-27 Thread Richard
In article <[EMAIL PROTECTED]>, Anidil <[EMAIL PROTECTED]> writes: > I noticed when I initially tested MSI on a machine I was asked to install a > JRE . JRE = Java Runtime Environment? No, MSI does not require this, but the application being installed with that MSi may have required it. --

Re: [WiX-users] Name of the msi with in the install file

2008-02-25 Thread Richard
In article <[EMAIL PROTECTED]>, "RAYMENT Tim" <[EMAIL PROTECTED]> writes: > Maybe you should step back and describe the fundamental problem that > you're trying to solve. Perhaps then someone might be able to suggest > an alternative 'solution' that doesn't require msi name. ...or a custom

Re: [WiX-users] Name of the msi with in the install file

2008-02-24 Thread Richard
In article <[EMAIL PROTECTED]>, vishnum <[EMAIL PROTECTED]> writes: > What I am trying to do is I have a custom action (external, in a dll) which > based on the msi name writes data to the registry. A better approach is to set a property and use that to drive your custom action data. Even

Re: [WiX-users] Name of the msi with in the install file

2008-02-22 Thread Richard
In article <[EMAIL PROTECTED]>, "Wilson, Phil" <[EMAIL PROTECTED]> writes: > I believe this is always available, which is why it works better than > SourceDir (which needs ResolveSource). I suppose that depends on what you want to use SourceDir for; the database isn't always in the location

Re: [WiX-users] C# Managed Custom Actions in WiX 3.0

2008-02-21 Thread Richard
In article <[EMAIL PROTECTED]>, si <[EMAIL PROTECTED]> writes: > What I'd like is something as simple as the XmlPoke and XmlPeek tasks > that are found in NAnt. [...] > We'd also like an XmlBulkAdd action i.e. > adding well-formed elements and attributes instead of having to treat > each ele

Re: [WiX-users] Name of the msi with in the install file

2008-02-20 Thread Richard
In article <[EMAIL PROTECTED]>, Dominik Guder <[EMAIL PROTECTED]> writes: > But I think this approach is somewhat odd. As a better solution I would > suggest to get the custom action > beeing data driven [...] Particularly since people can rename the MSI file and then your "do this or that

Re: [WiX-users] Where's my ActionText?

2008-02-14 Thread Richard
In article <[EMAIL PROTECTED]>, larsenal <[EMAIL PROTECTED]> writes: > Can I figure out which actions are causing it to be blank and supply some > descriptive text? I wrote an ICE that complains whenever you have an action in the UI or execute sequence tables for which there is no defined a

Re: [WiX-users] Custom command line parameters in Wix

2008-02-14 Thread Richard
In article <[EMAIL PROTECTED]>, "Srilatha Punna" <[EMAIL PROTECTED]> writes: > Yes, this is how I got it working but my requirement was to have just = > command line switch -AUTOLOGIN instead of a property. So I wanted to = > know if there is a way we can do that. Not without your own custo

Re: [WiX-users] rollback if VBScript return value < 0

2008-02-14 Thread Richard
Put your script into the body of a function, adjust your custom action to call the function, and have the function return 0 on success and 3 on failure. -- "The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download

Re: [WiX-users] How to test rollback?

2008-02-05 Thread Richard
In article <[EMAIL PROTECTED]>, larsenal <[EMAIL PROTECTED]> writes: > In the log, I see that the ForceError CA returns 3... but it doesn't trigger > a rollback. How do you know it didn't trigger a rollback? -- "The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download

Re: [WiX-users] rollback conditions

2008-02-04 Thread Richard
In article <[EMAIL PROTECTED]>, larsenal <[EMAIL PROTECTED]> writes: > I think so. I've added a CA which is supposed to throw an error as follows: > > > > However, it seems that it's not forcing a rollback. Any ideas? The docs say: NameTypeDescription Error String This attr

Re: [WiX-users] rollback conditions

2008-02-04 Thread Richard
In article <[EMAIL PROTECTED]>, larsenal <[EMAIL PROTECTED]> writes: > I removed all conditions from the Rollback action. It's sequence is set to > After="InstallInitialize". It still doesn't fire. > > Any ideas? It won't fire unless the transaction is interrupted and a rollback occurs.

Re: [WiX-users] How to test rollback?

2008-02-02 Thread Richard
You can test rollback by putting a custom action of type 19 (fail) at the end of your install transaction, right before InstallFinalize. Put a condition on this action this is normally false, so you can set a public property from the command line to force rollback. This is the best way to test cus

[WiX-users] Check a property has a slash on the end

2008-01-31 Thread Richard Wilde
Hi I have a property called [MAXIMIZERDIR] which the user has browsed to using a custom dialog. I want WIX to automatically append a backslash to the end of this property if it does not already have one. Can WIX do this?` Thanks Richard

[WiX-users] ATTN; PLEASE

2008-01-30 Thread Mrs Nenni Richard
新しいメールアドレスをお知らせします新しいメールアドレス: [EMAIL PROTECTED] Dear Please I am Mrs Nenni Richard. I am contacted you to be my project partner and stand as my late father's foreign manager for transfer of US$22 million into your account for investment I intend to do in your country. Please

Re: [WiX-users] How to check if a edit control is empty?

2008-01-30 Thread Richard
In article <[EMAIL PROTECTED]>, "Daniel Janz" <[EMAIL PROTECTED]> writes: > Is this possible in a simple way? I already tried to check the property: > > DBNAME > <>(<>) "" > > But it doesn't work like expected. In what way doesn't it work as expected? -- "The Direct3D Graphics Pipeline"

Re: [WiX-users] Unzip a .zip file in MSI

2008-01-28 Thread Richard
There are times when I think the "unzip files" approach is legitimate. For instance, suppose you have a bunch of data files that represent a snapshot in time for a dynamically updating service. The service, when run, will consume the initial snapshot of files to build its database, then delete th

Re: [WiX-users] Unzip a .zip file in MSI

2008-01-28 Thread Richard Wilde
Am I missing the point here, but does that mean we still either have to generate the CAB to each reseller or train them how to generate one? Each reseller will have their own set of templates (random amount) each with different names. The logos however should be named the same. Thanks Richard

Re: [WiX-users] Unzip a .zip file in MSI

2008-01-28 Thread Richard Wilde
? Many thanks Richard -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Adam Majer Sent: 28 January 2008 06:02 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Unzip a .zip file in MSI Xin Liu (Intl Vendor) wrote: > In our msi there is a .zip f

<    1   2   3   4   5   6   >