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

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 Installe

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

[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

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

2009-03-05 Thread Calin Iaru
> I've read that the signature problem is actually fixed with WI 5.0 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'

[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 (usual

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:

[WiX-users] elevating twice

2008-12-01 Thread Calin Iaru
If UAC is enabled, then my MSI will require one elevation prompt during installation. This is acceptable, since registry keys are written and other components such as drivers are installed. What I would like to do is to circumvent a second elevation when the MSI file is scheduled to launch an i

Re: [WiX-users] Separate ExitDialog for Uninstall

2008-06-20 Thread Calin Iaru
a fairly fundamental thing and is the last > remaining issue in my installer. > > > > >> -Original Message- >> From: [EMAIL PROTECTED] [mailto:wix-users- >> [EMAIL PROTECTED] On Behalf Of Calin Iaru >> Sent: Friday, 20 June 2008 7:58 PM >> To

Re: [WiX-users] Separate ExitDialog for Uninstall

2008-06-20 Thread Calin Iaru
oesn't include any of the subversion binaries so it won't build, but the > files are there. In the BuildSubversion\WixDialog folder you will see the > PostDlg.wxs that I am trying to get the condition working in. > > > > >> -Original Message- >> F

Re: [WiX-users] Separate ExitDialog for Uninstall

2008-06-20 Thread Calin Iaru
jumping out there that can be tweaked? > > > Troy > > > >> -Original 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

Re: [WiX-users] Separate ExitDialog for Uninstall

2008-06-20 Thread Calin Iaru
Or you can use the same ExitDlg and customize the elements inside it like bitmaps, static text, position of elements based on conditions. Not EXISTINGPRODUCTS 1 EXISTINGPRODUCTS 1 Calin Iaru wrote: > If I were you, I would play with where s

Re: [WiX-users] Separate ExitDialog for Uninstall

2008-06-20 Thread Calin Iaru
If I were you, I would play with 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, but I needed it cu

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, bot

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

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 packa

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 name

Re: [WiX-users] Reinstall driver

2008-02-14 Thread Calin Iaru
My suggestion is to edit the condition as . -- From: "Anton Filippov" <[EMAIL PROTECTED]> Sent: Thursday, February 14, 2008 12:46 PM To: Subject: [WiX-users] Reinstall driver > Hi > > I'm using WiX and my own dll for install driver (because driver

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

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

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

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

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

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

2007-12-28 Thread Calin Iaru
ure antivirus. -- From: "Rob Mensching" <[EMAIL PROTECTED]> Sent: Friday, December 21, 2007 12:20 PM To: "Calin Iaru" <[EMAIL PROTECTED]> Cc: Subject: Re: [WiX-users] problems browsing WiX.sourceforge.net > Can you provide more details about thes

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

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

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

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

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

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

2007-12-18 Thread Calin Iaru
: But note this: if the LongName does not end with a star symbol, then the shortcuts are not removed. I compile with WiX 2.0.4820.0. Calin Iaru wrote: > I recently had to rename the some applications and the corresponding > shortcuts. The problem is that af

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

[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 . It works. Switched back to and it fails with this error code: " D:\temp\wix>candle.exe Unhandled Exception: Cannot print exception string because Exception.ToString() failed. " If someone wants the .d

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

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

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

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 tak

Re: [WiX-users] Kernel Drivers

2007-02-13 Thread Calin Iaru
Hi Levi, you can try this sequence with WiX 3: http://schemas.microsoft.com/wix/2006/wi"; xmlns:difxapp="http://schemas.microsoft.com/wix/DifxAppExtension";> ... You will also need to specify some cust

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 i

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

2006-11-28 Thread Calin Iaru
forum 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 crea

[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

[WiX-users] Installing multifunction devices

2006-11-08 Thread Calin Iaru
Hello, I am working on a Setup Wizard made with Windows Installer on XML and DIFxApp ver 2.01. The setup can install 2 driver packages, where one of the drivers is a bus driver, and the second one is a regular device driver for a child device. It seems that from time to time, a "New Hardware

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

Re: [WiX-users] Upgrade and remove

2006-10-03 Thread Calin Iaru
run with ADDLOCAL=Administration,Demos,Utilities. I tried to change ADDLOCAL after MigrateFeatureStates with a custom action, but it remains "Administration,Demos,Utilities" when ExecuteAction is called. Best regards, Calin Bob Arnson wrote: > Please keep /wix-users/ on the thre

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

Re: [WiX-users] MigrateFeatureStates vs MsiGetFeatureState

2006-10-02 Thread Calin Iaru
ll feels like a workaround. For instance, I don't see any changes on the FEATURESTOREMOVE property. Calin Iaru wrote: > Hi List, > > > I am running an upgrade dialog and from the log I see that > MigrateFeatureStates correctly detects the feature which was previosl

Re: [WiX-users] Upgrade and remove

2006-10-02 Thread Calin Iaru
the one I 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 A

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

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, Insta

Re: [WiX-users] Upgrade and remove

2006-09-28 Thread Calin Iaru
EMAIL PROTECTED] > [mailto:[EMAIL 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 bei

Re: [WiX-users] Upgrade and remove

2006-09-28 Thread Calin Iaru
Short note: InstallValidate does not discover any of the Features as being installed. Calin Iaru wrote: > 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 > possibilit

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

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 so that the XML parser does not interpret "<>" as an empty element. Alternatively, you can use CONDITION_PROPERTY < > "F1" > installed! Why? > > And another question... > I tried to use '<>' as 'not equal' comparative opera

[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] 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 contr

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

Re: [WiX-users] User account creation

2006-08-23 Thread Calin Iaru
Hi Roxana, just a quick note on the first case - it may be that your custom DLL is using some other DLL's which are available on the development machine, but not on the test machine. You could use Dependency Walker to find out. Best regards, Calin roxana wrote: > Hi list, > > I'm usi

Re: [WiX-users] Multiple SelectionTree in one Dialog Box

2006-08-07 Thread Calin Iaru
ugh. Best regards, Calin Bob Arnson wrote: > Calin Iaru wrote: >> >> Is there a way to show multiple SelectionTree controls in >> one dialog box? Each of them should have different features. >> > Selection-tree controls always show the same feature t

[WiX-users] Multiple SelectionTree in one Dialog Box

2006-08-06 Thread Calin Iaru
Hi List,       Is there a way to show multiple SelectionTree controls in one dialog box? Each of them should have different features.     Best regards,     Calin - Take Surveys. Earn Cash. In

[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” b

Re: [WiX-users] Caching shortcut icons?

2006-08-04 Thread Calin Iaru
, mentioned in MSDN). So the first one is the one we 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

[WiX-users] Caching shortcut icons?

2006-08-04 Thread Calin Iaru
Hi List,       Strange thing on Windows XP – maybe you can tell me more about it. If I create a shortcut and specify an Icon, then that initial icon is displayed no matter if the icon - as a binary file - has been modified and the MSI recompiled. This is not the case with Server 2

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

2006-08-02 Thread Calin Iaru
Hi List,         If I use 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.  

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

2006-08-02 Thread Calin Iaru
PROTECTED] [mailto:[EMAIL 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 then everything goes fine. I would like to

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

[WiX-users] Device scan before installing

2006-07-29 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 Devi

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

Re: [WiX-users] Device scan before install

2006-07-28 Thread Calin Iaru
preferably with no impersonation - > which *can* be run in Local System 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. > &

Re: [WiX-users] Device scan before install

2006-07-28 Thread Calin Iaru
ards, > > Chesong Lee > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Calin Iaru > Sent: Thursday, July 27, 2006 1:37 PM > To: wix-users@lists.sourceforge.net > Subject: [WiX-users] Device scan before install > > Hi List,

[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" s