[WiX-users] questions about upgrading to a stable wix version

2011-11-17 Thread Calin Iaru
Hi, We’ve been compiling with 2.4 for a long time we are considering upgrading to the latest 3.6 version. I would appreciate if you could answer these questions: 1) 3.6 plays nice with DifxApi. The SW stack contains drivers that have to be installed and upgraded. I have custom actions that

Re: [WiX-users] Urgent Please help: Could not open key: HKEY_CURRENT_USER\Software\Classes\MyAppAssembly....

2011-03-25 Thread Calin Iaru
Hi, In addition to Bruce's suggestion, I recommend running Procmon http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx with Registry accesses enabled. Calin -Mesaj original- From: Bruce Cran Sent: Thursday, March 24, 2011 4:24 PM To: General discussion for Windows

[WiX-users] install based on property value

2009-04-27 Thread Calin Iaru
I have a spec where certain files should be installed on the server side, while other are supposed to be installed in the client case. For instance, certain drivers will have different inf files prepared based on the installation type. I would like to have the server side install by setting a

[WiX-users] ServiceInstall Least Privilege

2009-04-20 Thread Calin Iaru
Vista has Service Hardening which I would like to enable with WiX v2. Is there an element/attribute available? So far, I see that the relevant specs around SH use sc privs and friends to specify a running context. If there is no element, then the alternative is a custom action?

[WiX-users] xp x64 detection

2009-03-12 Thread Calin Iaru
Hi, I did not test my msi on XP X64 and someone actually came and reported an error. I see that my installer follows the guidelines at http://msdn.microsoft.com/en-us/library/aa370556(VS.85).aspx but also that someone reports a documentation bug. Is VersionNt 501 or 502 for XP X64? I don't

[WiX-users] msi on vista background copy

2009-03-05 Thread Calin Iaru
I build my MSI with WiX. The problem I see on Vista is that the MSI file is copied to a temporary folder or system folder before installing it. If I have a laptop with 5400 rpms, then that can take awhile - and I see this with lots of installers. 1) How can I prevent this? Some setup apps

Re: [WiX-users] msi on vista background copy

2009-03-05 Thread Calin Iaru
in Windows 7, so you can continue to use embedded cabs and the signature doesn't become invalid (on Windows 7). But I've stopped using embedded cabs, so I haven't tried to see if that's actually true. -Ari -Original Message- From: Calin Iaru [mailto:ca...@dolphinics.com] Sent: Thursday

Re: [WiX-users] elevating twice

2008-12-02 Thread Calin Iaru
, 2008 5:58 PM Subject: Re: [WiX-users] elevating twice You'd have to launch your configuration tool as a deferred async CustomAction. -Original Message- From: Calin Iaru [mailto:[EMAIL PROTECTED] Sent: Monday, December 01, 2008 06:54 To: General discussion for Windows Installer XML

Re: [WiX-users] Separate ExitDialog for Uninstall

2008-06-20 Thread Calin Iaru
If I were you, I would play with InstallUISequence where some variations could yield the expected results. This is how I display a Firewall Dialog which adds some applications to the Windows Firewall after installation. Normally, the ExitDlg would be displayed when finishing the installation,

Re: [WiX-users] Separate ExitDialog for Uninstall

2008-06-20 Thread Calin Iaru
Condition Action=showEXISTINGPRODUCTS/Condition Condition Action=hide1/Condition /Control Calin Iaru wrote: If I were you, I would play with InstallUISequence where some variations could yield the expected results. This is how I display a Firewall Dialog which adds some

Re: [WiX-users] Separate ExitDialog for Uninstall

2008-06-20 Thread Calin Iaru
Message- From: [EMAIL PROTECTED] [mailto:wix-users- [EMAIL PROTECTED] On Behalf Of Calin Iaru Sent: Friday, 20 June 2008 5:49 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Separate ExitDialog for Uninstall Or you can use the same ExitDlg and customize

Re: [WiX-users] Separate ExitDialog for Uninstall

2008-06-20 Thread Calin Iaru
\WixDialog folder you will see the PostDlg.wxs that I am trying to get the condition working in. -Original Message- From: [EMAIL PROTECTED] [mailto:wix-users- [EMAIL PROTECTED] On Behalf Of Calin Iaru Sent: Friday, 20 June 2008 6:43 PM To: General discussion for Windows

Re: [WiX-users] Separate ExitDialog for Uninstall

2008-06-20 Thread Calin Iaru
- [EMAIL PROTECTED] On Behalf Of Calin Iaru Sent: Friday, 20 June 2008 7:58 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Separate ExitDialog for Uninstall There is a difference between REMOVE and Remove - the first one is a public property, the second

Re: [WiX-users] upgrade shortcut

2008-06-19 Thread Calin Iaru
I have changed the GUIDs on the new package and now the old shortcut is deleted. I think this is a good approach. Calin Iaru wrote: Hi, I am doing a major upgrade and the Start Menu/Programs/OldEntry folder is not removed. I would like to keep the OldEntry, but now, both OldEntry

[WiX-users] upgrade shortcut

2008-06-18 Thread Calin Iaru
Hi, I am doing a major upgrade and the Start Menu/Programs/OldEntry folder is not removed. I would like to keep the OldEntry, but now, both OldEntry and NewEntry exist in the Programs folder. Any ideas as to why is the delete shortcuts action inhibited? Best regards, Calin PS. The

Re: [WiX-users] How do I force a uninstall...

2008-03-14 Thread Calin Iaru
Hi Riches, I ran into the same scenario while developing an installer. From an installation point of view, this should never happen on a customer's machine because the customers install MSIs that are different if versions are different. From a design point of view, different installer

Re: [WiX-users] Get Target machine name

2008-03-13 Thread Calin Iaru
For the machine name, use the ComputerName property. I will let someone else answer the Domain question, but so far it appears that there is no obvious way. From: Tris Hodges Sent: Thursday, March 13, 2008 2:39 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Get Target machine

Re: [WiX-users] Reinstall driver

2008-02-14 Thread Calin Iaru
My suggestion is to edit the condition as ![CDATA[DRVInstall =3]]. -- From: Anton Filippov [EMAIL PROTECTED] Sent: Thursday, February 14, 2008 12:46 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Reinstall driver Hi I'm using WiX

[WiX-users] Persistent data between Custom Action-s

2008-01-25 Thread Calin Iaru
The deal is that I need some data to be saved between custom actions. One custom action in some case could retrieve some Windows Firewall settings and preserve them during an upgrade. The easiest and probably only way to do this is by using some permanent store that can be read by a second

[WiX-users] Does an installer database know if it's upgraded?

2008-01-25 Thread Calin Iaru
The installer adds some applications to the Windows Firewall with the acceptance of the administrator. Doing an upgrade would preserve the Firewall settings and although I have some solutions in mind, none of them are direct. It would help if the old version would know that is being upgraded

[WiX-users] Condition strings that are too long

2008-01-25 Thread Calin Iaru
Some of the conditions that I write are quite long and they are based on several factors like operating system, service pack, user interface level, features installed, features set to be removed and so on. Or conditions can be broken in several shorter conditions; for instance I could have a

Re: [WiX-users] upgrade does not work

2008-01-18 Thread Calin Iaru
- Original Message - From: Mike Dimmick To: 'Calin Iaru' ; wix-users@lists.sourceforge.net Sent: Thursday, January 17, 2008 11:13 PM Subject: RE: [WiX-users] upgrade does not work I'm trying to trace what's happened there. In the basic UI case, MigrateFeatureStates is clearly doing

[WiX-users] RemoveExistingProducts and drivers installation

2008-01-18 Thread Calin Iaru
Hi, my WiX file specifies RemoveExistingProducts as the last action to be executed. The drawback of this procedure is that when doing an upgrade, there may be 2 installations in parallel - one that installs the new version and one that removes the previous one. There's a side effect when

Re: [WiX-users] problems browsing WiX.sourceforge.net

2007-12-28 Thread Calin Iaru
I uninstalled the F-Secure antivirus. -- From: Rob Mensching [EMAIL PROTECTED] Sent: Friday, December 21, 2007 12:20 PM To: Calin Iaru [EMAIL PROTECTED] Cc: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] problems browsing

Re: [WiX-users] Error 1723. A DLL required for this install to complete could not be run.

2007-12-20 Thread Calin Iaru
Your custom action needs to return 0. Check the code and if the function CustomAction_SxsMsmInstall returns something else, then you have an error. SaiTeja wrote: Hi, when I run my msi in Virtual Machine am getting following error. Can any one tell me how to solve this Action start

Re: [WiX-users] Product registration check box waits for mouse over to display

2007-12-20 Thread Calin Iaru
If you put it in on a bitmap then that could cause a problem. I had to stretch a few rectangles to dig a hole so that the checkbox is on top of the native window and not on a bitmap. Anidil wrote: I have included a check box in the ExitUIDlg , but it doesn't seems to display when the MSI is

[WiX-users] Need help on upgrading shortcuts

2007-12-18 Thread Calin Iaru
I recently had to rename the some applications and the corresponding shortcuts. The problem is that after an upgrade, the renamed applications are installed, the old applications are deleted, but the old and new shortcuts coexist. You will find below the component definition:

Re: [WiX-users] Need help on upgrading shortcuts

2007-12-18 Thread Calin Iaru
2.0.4820.0. Calin Iaru wrote: I recently had to rename the some applications and the corresponding shortcuts. The problem is that after an upgrade, the renamed applications are installed, the old applications are deleted, but the old and new shortcuts coexist. You will find below

Re: [WiX-users] Pre-build CAB file

2007-12-18 Thread Calin Iaru
You have a switch on Ligth.exe called -reusecab. This will cache the cab file built on the first time. Stephen Tunney wrote: Hello All, I am creating an installer with a file in it that takes forever to compress and add to the cab file (35 minutes). It is obviously due to the files

[WiX-users] StopServices during an Upgrade

2007-12-18 Thread Calin Iaru
The driver's inf file installs an user mode agent that runs as a service. When the drivers are updated, so should the service. I can see in the log file that StopServices action is called, but it appears that the previous service is never stopped. If this happens, then the new service cannot

Re: [WiX-users] StopServices during an Upgrade

2007-12-18 Thread Calin Iaru
Hi Richard, too complicated. I designed some custom actions that are triggered before StopServices if EXISTINGPRODUCTS and I also trigger a custom action after InstallFinalize. Best regards, Calin Richard wrote: You can stop services that you didn't install, but they have to be

Re: [WiX-users] StopServices during an Upgrade

2007-12-18 Thread Calin Iaru
Let's try it your way and see how it goes. Richard wrote: In article [EMAIL PROTECTED], Calin Iaru [EMAIL PROTECTED] writes: too complicated. Too complicated? Its *one* row in the ServiceControl table. I designed some custom actions that are triggered before

[WiX-users] problems browsing WiX.sourceforge.net

2007-12-14 Thread Calin Iaru
Some links are down like the download links. Sometimes the browser won't even open WiX.sourceforge.net. What is wrong? I could not download WiX 2 nor could I take any of the weekly releases. By the way, it appears that the Stable WiX2 crashes on my computer out of the blue. There are no updates

[WiX-users] A tricky one

2007-12-14 Thread Calin Iaru
So, we rebranded some applications and the customers are about to install a new msi package. And here's the problem: - if the customer did not have any previous versions installed, the MSI package will go as planned. - if the customer did have a previous version, our installer will attempt an

[WiX-users] A tricky one

2007-12-14 Thread Calin Iaru
From: Calin Iaru Sent: Friday, December 14, 2007 10:31 AM To: wix-users@lists.sourceforge.net Subject: A tricky one So, we rebranded some applications and the customers are about to install a new msi package. And here's the problem: - if the customer did not have any previous versions

[WiX-users] problems browsing WiX.sourceforge.net

2007-12-14 Thread Calin Iaru
Put it on Vista, it works. Back to XP, edited candle.exe.config and had it run only on supportedRuntime version=v1.1.4322 /. It works. Switched back to supportedRuntime version=v2.0.50727 / and it fails with this error code: D:\temp\wixcandle.exe Unhandled Exception: Cannot print

Re: [WiX-users] UnInstalling

2007-12-12 Thread Calin Iaru
What I think it happens is that the program will uninstall and delete only the files that have been installed. I remember a note which warns that if the user creates new files in the application directories, the files created are not deleted, therefore the application directory is not deleted.

Re: [WiX-users] To goto prod. reg. website at the end of installation

2007-08-31 Thread Calin Iaru
I used a custom action which is triggered when pressing the Finish button. The action is launched if the checkbox is selected. On Fri, 31 Aug 2007 16:05:19 +0200, Anidil [EMAIL PROTECTED] wrote: How do i customize my ExitDialog UI dialog (Last UI Dialog) to include a checkbox which takes

Re: [WiX-users] Modifying a static control without EventMapping nor ActionText

2006-11-28 Thread Calin Iaru
and keep you posted. Best regards, Calin Bob Arnson wrote: Calin Iaru wrote: my MSI setup needs some custm actions that should modify a Static text control after pressing a Configure button. I have found a workaround for this problem by creating many such text controls on the same

Re: [WiX-users] Modifying a static control without EventMapping nor ActionText

2006-11-28 Thread Calin Iaru
Just tested a property inside a text control - no results that can be validated. The MsiSetProperty does not updated the controls connected to that property - not ever. It's not that it does not guarantee, but even more (or less). You can try using properties in the static text. (e.g., This is

[WiX-users] Modifying a static control without EventMapping nor ActionText

2006-11-27 Thread Calin Iaru
Hi all, my MSI setup needs some custm actions that should modify a Static text control after pressing a Configure button. I have found a workaround for this problem by creating many such text controls on the same client area and position and having one visible. When the Configure button

[WiX-users] Specifying component install order

2006-11-09 Thread Calin Iaru
I can actually try to install the child device driver before the bus driver. Is there a way to specify the sequence of file installations? In this case, it would be an advantage to have a component installed before another component. Best regards, Calin Hello, I am working on a Setup

Re: [WiX-users] Upgrade and remove

2006-10-03 Thread Calin Iaru
will create a small upgrade sample and fill it in as a bug. Best regards, Calin Bob Arnson wrote: Calin Iaru wrote: It should be only Administration because the setup resets the level of all other features to 0 when Typical is selected like this: Feature Id=Utilities Title

[WiX-users] MigrateFeatureStates vs MsiGetFeatureState

2006-10-02 Thread Calin Iaru
Hi List, I am running an upgrade dialog and from the log I see that MigrateFeatureStates correctly detects the feature which was previosly installed. However, an upgrade will install not only that feature, but also the rest of the features. The tutorial from tramontana.hu upgrades based

Re: [WiX-users] Upgrade and remove

2006-10-02 Thread Calin Iaru
need. I will just remove it for now. Best regards, Calin Calin Iaru wrote: Hi Bob, been there. I find that something similar is done with WinDbg. Thanks to all for helping out. Keep you posted. Best regards, Calin Bob Arnson wrote: Calin Iaru wrote: I see

Re: [WiX-users] MigrateFeatureStates vs MsiGetFeatureState

2006-10-02 Thread Calin Iaru
a workaround. For instance, I don't see any changes on the FEATURESTOREMOVE property. UpgradeVersion Maximum=$(var.PRODUCTVER).0 IncludeMaximum=yes Minimum=3.1.3.0 IncludeMinimum=yes Property=EXISTINGPRODUCTS MigrateFeatures=yes RemoveFeatures=[FEATURESTOREMOVE] / Calin

Re: [WiX-users] MigrateFeatureStates vs MsiGetFeatureState

2006-10-02 Thread Calin Iaru
, then the upgrade will upgrade only that feature. Typical + Upgrade = Upgrade All //wrong Custom + Upgrade = Upgrade Custom //right Calin Iaru wrote: Just found it - it's MsiQueryFeatureState. The good thing is that it accepts a product code which I can retrieve with MsiGetProperty

Re: [WiX-users] Upgrade and remove

2006-09-29 Thread Calin Iaru
Hi Bob, been there. I find that something similar is done with WinDbg. Thanks to all for helping out. Keep you posted. Best regards, Calin Bob Arnson wrote: Calin Iaru wrote: I see that MigrateFeatureStates discovers that the features are installed. Next, InstallValidate says

[WiX-users] Upgrade and remove

2006-09-28 Thread Calin Iaru
Hi List, I have 2 MSI packages which are compiled with different versions and different product code GUIDs. I want on the newer one to offer the possibility to remove the installation. How can I do this? I have tried several times to trigger a Remove event on the new version, but I still

Re: [WiX-users] Upgrade and remove

2006-09-28 Thread Calin Iaru
PROTECTED] On Behalf Of Calin Iaru Sent: Thursday, September 28, 2006 12:17 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Upgrade and remove Short note: InstallValidate does not discover any of the Features as being installed. Calin Iaru wrote: Hi List, I have 2 MSI

Re: [WiX-users] Conditional fature installation does not work...

2006-08-30 Thread Calin Iaru
For your second question: you need to surround that statement with ![CDATA[CONDITION_PROPERTYF1]] so that the XML parser does not interpret as an empty element. Alternatively, you can use CONDITION_PROPERTY lt; gt; F1 installed! Why? And another question... I tried to use '' as 'not

[WiX-users] Feature issue

2006-08-28 Thread Calin Iaru
Hi List, I have an ExitDlg which launches notepad if Admin feature is selected. The problem is that the editor is launched even during typical setup, even though the feature level is set to 0. What am I doing wrong? Best regards, Calin

[WiX-users] CheckBox control malfunction

2006-08-24 Thread Calin Iaru
Hi List, I am using a CheckBox control on ExitDlg inviting the user to open a readme file. The problem is that this CheckBox appears only if the user hovers the mouse over the area where the CheckBox resides. If I change the sequence of the ExitDlg to become a WelcomeDlg, the CheckBox

[WiX-users] Ct: CheckBox control malfunction

2006-08-24 Thread Calin Iaru
Actually there's a repaint message which fails every time the Dialog gets focus. Whatever control is on over a large bitmap - no matter if it's CheckBox, PushButton - the bitmap will appear first and the control will appear after the user hovers the mouse over that area. And even when the

Re: [WiX-users] Caching shortcut icons?

2006-08-04 Thread Calin Iaru
use at this time. Regards, Chesong Lee From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Calin Iaru Sent: Friday, August 04, 2006 4:55 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Caching shortcut icons? Hi List, Strange thing on Windows XP maybe

[WiX-users] Control Default=yes - maybe

2006-08-04 Thread Calin Iaru
Hi List, An Install button may not be selected although I specified Default=yes for that Control. Looking closer at it, seems that the first button to be selected is also first button that is specified for that dialog. That would explain why a setup wizard has the Back button selected

Re: [WiX-users] Shortcut tag does not create a shortcut always

2006-08-02 Thread Calin Iaru
PROTECTED] On Behalf Of Calin Iaru Sent: Wednesday, August 02, 2006 11:34 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Shortcut tag does not create a shortcut always Hi List, If I use Shortcut Target=[!INSTALLDIR] / then everything goes fine. I would like to create

[WiX-users] Shortcut tag does not create a shortcut always

2006-08-02 Thread Calin Iaru
Hi List, If I use Shortcut Target=[!INSTALLDIR] / then everything goes fine. I would like to create a shortcut called Command Shell to point to the installation directory. For some reason, this code fails and there are no log entries referring to it. Shortcut Id=_shCommPrompt

[WiX-users] Preparing to install...

2006-07-31 Thread Calin Iaru
Hi List, when starting a fresh installation, there's always a window saying Preparing to install I see in the log file that this show dialog event is not wrapped between any actions, so my question is - Is there a way to customize this window? Best regards, Calin

Re: [WiX-users] Device scan before install

2006-07-29 Thread Calin Iaru
Context. The former is the requirement for custom actions which changes the system. The latter allows normal users to install the package if privileged installation is allowed by the group policy. Regards, Chesong Lee -Original Message- From: Calin Iaru [mailto:[EMAIL PROTECTED

[WiX-users] Create folder in DRVSTORE

2006-07-29 Thread Calin Iaru
Hi List, is there any possibility to create a folder inside the system DRVSTORE? When installing a driver, some files may reside in different folders and the inf file needs them from different locations. The problem occurs when the installer copies these files to the DRVSTORE and the

[WiX-users] Device scan before install

2006-07-27 Thread Calin Iaru
Hi List, given the scenario below, I would like to know how to force a device scan before installing a driver: Device Manager shows Other Device detected The drivers are installed The drivers are uninstalled The device entry disappears from Device Manager, but there is no Other Device