Re: [WiX-users] Killing a Process !! MSI Installer....

2007-12-03 Thread Mailinglist
Hi, we use the pskill.exe tool from sysinternals, packed into the setup as a binary. That works on all kind of windows machines. Another problem though, if you kill the process, that displays the tray-icon, the tray-icon will stay where it is until the mouse is moved over it. But that's a

[WiX-users] RegistryKeys on x64 always deleted?

2007-11-23 Thread Mailinglist
Hi, in our x64 Setup we write some registry keys to the native registry hive, using this pattern: RegistryValue Id='EWS.User.Path' Root='HKLM' Key='Software\XXX\XXX' Name='UserExePath' Action='write' Type='string' Value='[User]User.exe' / On uninstall those keys are removed, but I do not want

Re: [WiX-users] i want to know what this means

2007-11-20 Thread Mailinglist
Hi, this code starts a custom action called _CA_installscript after starting up services. It is only executed, if $C__installscript-Variable/Funktion returns a value greater then 2. For better Help on this, you should provide more of the code. Regards, Oliver From: [EMAIL PROTECTED]

Re: [WiX-users] Using .NET 2.0 Managed Custom Actions

2007-10-24 Thread Mailinglist
2007 04:48 To: Mailinglist; wix-users@lists.sourceforge.net Subject: RE: [WiX-users] Using .NET 2.0 Managed Custom Actions I read and tested the Hosting the CLR with a custom action. It is great to bridge between the unmanaged CA and managed CA. However, it cannot work with a deferred CA. Right

Re: [WiX-users] What do I do with per-user data when I uninstall?

2007-09-18 Thread Mailinglist
Well, I think that installers should not do anything user-specific. Installer may copy files to the All-Users profile, and the software itself should go on an copy those files to the user who startet the software. What about the installer install necessary files for the software, to one user,

Re: [WiX-users] save username and password

2007-09-13 Thread Mailinglist
why I set the property tu UNAME in this example. Oliver From: salome zk [mailto:[EMAIL PROTECTED] Sent: Mittwoch, 12. September 2007 17:25 To: Mailinglist; wix-users@lists.sourceforge.net Subject: RE: [WiX-users] save username and password How can i access the username that i have saved

Re: [WiX-users] Generate multiple MSIs from a single wxs source?

2007-09-13 Thread Mailinglist
Well, I do have the same problem, specially when it comes to votive. The files must be duplicate, to be used in two projects, linking to files in another project is not possible. That leads to much redundant code and a big overhead for maintaining that. In our Solution we have a client and a

Re: [WiX-users] Managed custom action return values

2007-09-12 Thread Mailinglist
:[EMAIL PROTECTED] On Behalf Of Mailinglist Sent: Tuesday, September 11, 2007 12:41 AM To: Wilson, Phil; wix-users@lists.sourceforge.net Subject: RE: Re: [WiX-users] Managed custom action return values Hi, To say writing managed custom actions is not supported is a rather broad brush statement

Re: [WiX-users] [OT] user home predefined name?

2007-09-12 Thread Mailinglist
Hi Marcel, The reason I have to put my files at this specific location is that I am writing an installer for an existing opensource tool (maven) which expects certain files in this exact location. Well, since it is open source, you could easily solve the problem at the source. How does maven

Re: [WiX-users] save username and password

2007-09-12 Thread Mailinglist
Hi, even if you use a custom action to encrypt and decrypt the credentials, it would be unsafe to store them, cause they coud be found and decrypted. The data you store can be hacked on (RegistryKeys, File) as well as your code that you use to store/encrypt/decrypt them. If you use tools,

Re: [WiX-users] save username and password

2007-09-12 Thread Mailinglist
Hi Salome, you can store the username in the registry (but only the username) in a key that is not by default deleted on uninstall. Oliver From: salome zk [mailto:[EMAIL PROTECTED] Sent: Mittwoch, 12. September 2007 14:46 To: Mailinglist; wix-users@lists.sourceforge.net Subject: Re: [WiX-users

Re: [WiX-users] Managed custom action return values

2007-09-10 Thread Mailinglist
Hello, Writing managed custom actions is not supported. A standalone executable will not see anything of the setup around. I took two half ready projects and used them, to build up something that gives you the possibility to write managed custom actions and access the current setup from

Re: [WiX-users] How to organize debug/release builds using the same WiX script (.wxs)

2007-08-07 Thread Mailinglist
Hi, We use a variable with current build passed into wix. Therefore you can enter Build=$(Configuration) on the Build/Link Tab of the .wixproj properties page. With that, you are able to add debug stuff like this: Component Id=MyFile' Guid=*MAKESOMEGUID* File Id=MyFile.exe' Name='MyFile.exe'

Re: [WiX-users] custom action python

2007-08-07 Thread Mailinglist
Try it like this: CustomAction Id=installMTMAgentService Directory=pythonD0 ExeCommand=[#python.exe] [#service.pyc] install / Oli - Original Message - From: Matthieu RUNTZmailto:[EMAIL PROTECTED] To: Mark Linemailto:[EMAIL PROTECTED] Cc:

Re: [WiX-users] custom action python

2007-08-07 Thread Mailinglist
Hi, please make sure, that python.exe equals the id-tag of that file in your setup. If your file-tag looks like this: File Id='python' Name='python.exe' Source='[INSTALLDIR]bin\' Checksum='yes' / Then the custom action should look like this: CustomAction Id=installMTMAgentService

Re: [WiX-users] How to change TARGETDIR to e drive

2007-07-25 Thread Mailinglist
Hi, you want to launch the custom action, that assigns E:\ to TARGETDIR only if TARGETDIR has the value E:\. Your Condition is wrong. In our setup we use a Property that determines if drive e is present and if so, sets the default install path to e, maybe this is something for you either.

Re: [WiX-users] CustomUI change install path not possible?

2007-07-17 Thread Mailinglist
Bob Arnson wrote: That looks fine but the sequencing you give in an earlier message means that any directory chosen by the user will be overwritten by your DirectorySet custom action. You want to add a condition -- NOT TARGETDIR -- so it doesn't run if the user has already specified one in the

Re: [WiX-users] Removing Folders

2007-07-16 Thread Mailinglist
Hi Craig, Is there a way to call RemoveFolder, and have it remove (and empty) all sub-folders? My uninstall is using RemoveFile/RemoveFolder on a folder (which contains files created after installation), but since some of the files are stored in sub-directories, the uninstall leaves the

Re: [WiX-users] CustomUI change install path not possible?

2007-07-16 Thread Mailinglist
Mailinglist wrote: The directory causing the error is the TARGETDIR. The root path of the installation and yes, the main component has a CreateFolder tag for it. Stop, I've just seen that I turned facts. The one MergeModule with the IisExtension gets its folders createt in the right path

Re: [WiX-users] CustomUI change install path not possible?

2007-07-12 Thread Mailinglist
Hello Bob, When we come to the InstallDirDlg, the directory is shown correctly, if the DirectorySet ca is run early enough. If the user now wishes to customize this path, I get an error 2707, that the path does not exist, when I start up the BrowseDlg. Error 2707 includes the directory

Re: [WiX-users] CustomUI change install path not possible?

2007-07-12 Thread Mailinglist
Hello Bob, When we come to the InstallDirDlg, the directory is shown correctly, if the DirectorySet ca is run early enough. If the user now wishes to customize this path, I get an error 2707, that the path does not exist, when I start up the BrowseDlg. Error 2707 includes the directory

[WiX-users] CustomUI change install path not possible?

2007-07-11 Thread Mailinglist
Hello again, I now have the problem, that in our setup we first search if drive e: is present and set the TARGETDIR-Property to a folder on e: otherwise c:. This is done like this: Property Id='NEWINSTALLDIR' Value='C:\' DirectorySearch Id='MSEwsDefaultInstallRoot_Search' Path='E:\'

[WiX-users] Passing Properties to Mergemodules

2007-07-10 Thread Mailinglist
Hello, I try to push a commandline given parameter from my setup to one of my mergemodules with a custom action. This parameter should trigger a custom action from the mergemodule. However, in the log, the property for the parameter in main setup is shown and set correctly in the msi logfile,

Re: [WiX-users] Passing Properties to Mergemodules

2007-07-10 Thread Mailinglist
: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kalle Olavi Niemitalo Sent: Dienstag, 10. Juli 2007 11:20 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Passing Properties to Mergemodules Mailinglist [EMAIL PROTECTED] writes: Property Id=NOEXESTART Admin=no Hidden

Re: [WiX-users] Conditions for setup in GUI and without GUI?

2007-06-27 Thread Mailinglist
Hi, Thank you for your hints, but this just doesn't work correctly. I do not need to create custom errors, if Condition statements do the same. So the helpful thoughts are in the lower part of your mail. That however does not work. If I set the UI_RAN property, the condition only fails if

Re: [WiX-users] Conditions for setup in GUI and without GUI?

2007-06-27 Thread Mailinglist
for setup in GUI and without GUI? You've set suppress=yes, which means the event doesn't occur. Rob Mailinglist wrote: Hi, Thank you for your hints, but this just doesn't work correctly. I do not need to create custom errors, if Condition statements do the same. So the helpful thoughts

Re: [WiX-users] Conditions for setup in GUI and without GUI?

2007-06-27 Thread Mailinglist
Hi Wix-users, Solved the problem, easier than thought. To disable LaunchConditions in UI Mode simply add the following: InstallUISequence LaunchConditions Suppress='yes'/ /InstallUISequence Important, must be in InstallUISequence so that the LaunchConditions are run if the msi is

Re: [WiX-users] Conditions for setup in GUI and without GUI?

2007-06-27 Thread Mailinglist
Mailinglist wrote: Hi Rob, You've set suppress=yes, which means the event doesn't occur. Last compile I tried the following: InstallExecuteSequence LaunchConditions Suppress='no'NOT (GUI=1)/LaunchConditions /InstallExecuteSequence And it did not work either, it fails with the specified

[WiX-users] [wix-users] Mergemodule questions

2007-06-27 Thread Mailinglist
Hi, more to do, more problems show up... 1. Setting property in merged module at runtime. In the setup I use a merge module, where a custom action is triggered via a property. This property shall be entered to the setup as a command line switch like: [code] msiexec.exe /I setup.msi

[WiX-users] [wix-users] Conditions for setup in GUI and without GUI?

2007-06-26 Thread Mailinglist
Hi WiX-Users, in our Setup we use a personalized GUI, that checks in its first dialog several conditions and shows messages, if one condition fails. Most of this conditions handle previously needed software, like MMC 3.0 and Powershell 1.0. This just works fine for us, but if the install is

[WiX-users] [wix-users] Valid Registry or Filesearch for identifying MSSQLServer or SQLExpress?

2007-06-26 Thread Mailinglist
Hi, actually I noticed, that one condition in my previous post is unlikely to work, since it checks those servers with these properties: Property Id=VERSIONFULLSQL Admin=yes RegistrySearch Id=VERSIONFULLSQL_RegSearch Root=HKLM

[WiX-users] [wix-users] Install Certificates to any store? Needed for signed Powershell Scripts

2007-06-22 Thread Mailinglist
Hi wix-users, We need the ability to store a certificate CA to the root store of the local machine, and a certificate to the TrustedPublishers store of the local machine. Those files are needed for our Powershell files, which are not loaded otherwise. Until now, with WiX-3.0.3015.0 I only

Re: [WiX-users] Using .NET 2.0 Managed Custom Actions

2007-04-20 Thread Mailinglist
Hi Johan, How does this work around the technical reason for managed custom actions not working that Rob Mensching blogged about recently? Well, it works, though we have not testet calling managed custom actions for different framework versions. We roll out our software, entirely written for

[WiX-users] Using .NET 2.0 Managed Custom Actions

2007-04-20 Thread Mailinglist
Hello WiX-users, because we needed to use managed custom actions in our setup, I searched around the net for a real solution to this. I found two projects ([1],[2]), that followed quite good ideas, but both did not work out of the box or only under special circumstances. So I combined them