Re: [WiX-users] CreateFolder, Permission, ignore errors

2010-04-05 Thread Alexander Gnauck
Am 03.04.2010 15:23, Bob Arnson wrote: > No, MSI doesn't offer that feature. thanks Bob Alex -- Download IntelĀ® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and

[WiX-users] CreateFolder, Permission, ignore errors

2010-04-01 Thread Alexander Gnauck
I have a setup where a folder is created and permissions should be set. Under some conditions this can fail but should abort the installation on failure. With File there is the vital flag, but I have found nothing similar for CreateFolder and Permissions. Is there a way to ignore errors and not

[WiX-users] (network) permissions under vista

2007-08-27 Thread Alexander Gnauck
Hello, i still have problems with my custom actions on Windows Vista. With lots of workarounds and Execute='deferred' Impersonate='no' flags we got them working now on Vista in the most cases. The case where they don't work is when the program or parts of the program get installed on a network

Re: [WiX-users] vista custom actions

2007-08-17 Thread Alexander Gnauck
Rob Hamflett schrieb: > If you want them to be elevated you want Impersonate="no". As for when they > are executed, that > depends on when you scheduled them, but a deferred custom action is supposed > to be scheduled > somewhere in the InstallExecuteSequence between InstallInitialize and > I

[WiX-users] vista custom actions

2007-08-15 Thread Alexander Gnauck
Hello, currently i have problems with our msi package under vista. With Google and the search in this newsgroup i figured out how to elevate the privileges. If I understood it correctly this works only if Execute=deferred && Impersonate=yes The problem is that in our installers the order of the

Re: [WiX-users] create transformations, Orca alternatives

2006-10-10 Thread Alexander Gnauck
Tony Hoyle wrote: >> took a look at this script. It compares 2 MSI installations. But i have >> only 1 MSI file and want to create a transform which sets some >> properties (INSTALLDIR, ALLUSERS, SERIAL etc...) >> > That's how transforms work unfortunately.. they are used to turn one MSI > into a

Re: [WiX-users] create transformations, Orca alternatives

2006-10-09 Thread Alexander Gnauck
Wilson, Phil wrote: > There's a vbscript WiGenXfm.vbs in the Windows Installer SDK. took a look at this script. It compares 2 MSI installations. But i have only 1 MSI file and want to create a transform which sets some properties (INSTALLDIR, ALLUSERS, SERIAL etc...) Alex ---

[WiX-users] create transformations, Orca alternatives

2006-10-09 Thread Alexander Gnauck
Hello, Sorry if this question is off-topic and not WIX related. our applications normally run in high security environments where the admins are not allowed to install any software which is not certified by the main data center. Also some of our customers don't have a own admin which means I n

Re: [WiX-users] conditional files, repair

2006-09-25 Thread Alexander Gnauck
Alexander Gnauck wrote: > Hello, > > i have conditional files in my setup. > eg: a license file which is only copied when it exists on the media > (same directory as the MSI). > > When a file is not on the media during the install, and does not get > installed for

[WiX-users] conditional files, repair

2006-09-25 Thread Alexander Gnauck
Hello, i have conditional files in my setup. eg: a license file which is only copied when it exists on the media (same directory as the MSI). When a file is not on the media during the install, and does not get installed for this reason, the repair install also ignores this file. Is there a way

Re: [WiX-users] properties form previous versions

2006-09-22 Thread Alexander Gnauck
Wilson, Phil wrote: > The standard way to persist that ("the main application directory") is > to use a type 51 custom action and set the ARPINSTALLLOCATION property, > then it will get persisted in the MSI way (meaning that > MsiGetProductInfo with INSTALLPROPERTY_INSTALLLOCATION and other > stand

Re: [WiX-users] properties form previous versions

2006-09-21 Thread Alexander Gnauck
Hello David, > I use the element of the to retrieve previous > user-selected property values on uninstalls. I think you could do the same > thing for updates. > > > Type="raw" >Key="SOFTWARE\YourCompany\YourSection\YourKey" > /> > > > In this case, the p

[WiX-users] properties form previous versions

2006-09-21 Thread Alexander Gnauck
Hello, is there a way to get/access properties like INSTALLDIR and other custom properties from a previous installation which i update with an major upgrade using standard WIX functions? Thanks Alex - Take Surveys. Earn C

[WiX-users] upgrade nightmare

2006-09-14 Thread Alexander Gnauck
Hello, I am fighting for some days now with figuring out the best update strategy and writing samples for updating and/or patching. Is read the tutorial (http://www.tramontana.co.hu/wix/lesson4.php) several times but there are still lots of open questions. Also the MSDN doesn't help that much w

[WiX-users] small and minor update problems

2006-09-14 Thread Alexander Gnauck
Hello, i have strange problems with small and minor udpates. I studied the example in the tutorial several times. The example works for me when i compile it. When i try to update my application then the update copies all new files, but it doesn't replace all exe or dll files which changed. When i

Re: [WiX-users] RegistrySearch key exists

2006-08-14 Thread Alexander Gnauck
> is is possible to check with RegistrySearch if a specified RegKey > exists? All my tests failed yet. > > I want to check if the .NET 1.1 Framework is installed. It should be > installed if the Key > HKLM\Software\Microsoft\Windows\.NETFramework\policy\v1.1 exists. i figured out the .NET Fram

[WiX-users] RegistrySearch key exists

2006-08-14 Thread Alexander Gnauck
Hello, is is possible to check with RegistrySearch if a specified RegKey exists? All my tests failed yet. I want to check if the .NET 1.1 Framework is installed. It should be installed if the Key HKLM\Software\Microsoft\Windows\.NETFramework\policy\v1.1 exists. Alex ---

Re: [WiX-users] Set Installdir

2006-08-10 Thread Alexander Gnauck
works now if i put it in InstallUISequence. What happens if the Install runs silent then without UI? Alex Alexander Gnauck schrieb: > Hello, > > Jaap de Wolff schrieb: > >>I do the same , I use After="LaunchConditions", which is about the first >>

Re: [WiX-users] Set Installdir

2006-08-10 Thread Alexander Gnauck
Hello, Jaap de Wolff schrieb: > I do the same , I use After="LaunchConditions", which is about the first > possible moment strange, i also tried this one and it didn't work for me. Here is my code: Could you please post a snipped of your code? Alex

[WiX-users] Set Installdir

2006-08-10 Thread Alexander Gnauck
Hello, i have to set the Installdir directory depending on a registry value. Of course the user can overwrite this default setting in the UI. So i read the path from the registry in a property and assign this property to the installdir property with a custom action. My problem is the sequencin

Re: [WiX-users] quiet execution

2006-08-09 Thread Alexander Gnauck
Rob Hamflett schrieb: > Really? I'm not correcting you, I just find it strange. As a work around > you could have a custom > action that sets the QtExecCmdLine property from another property you use for > the reg search. This gives me a compiler Error. It sais all characters of

[WiX-users] quiet execution

2006-08-09 Thread Alexander Gnauck
Hello, i have to uninstall the previous version of the program which i install with MSI now. The old version is not an MSI installer (Inno Setup). It will be uninstalled with a uninstaller exe. I grab the Path to the uninstall program from the registry using and write it to a public property.

Re: [WiX-users] Keep files after uninstall

2006-08-03 Thread Alexander Gnauck
Hi Rob and Rob, Thanks, that is exactly what i needed. I will leave only 1 database file. Our customers often uninstall the old version if they update and forget to backup their databases. Alex Rob Mensching schrieb: > Rob is right. Permanent is better than absent GUID because you can still

[WiX-users] Keep files after uninstall

2006-08-03 Thread Alexander Gnauck
Hello, What is the correct way of installing files which i don't want to uninstall later, or only uninstall with a custom action (eg. important databases). I read that files in a component without GUID will not be uninstalled. Is this the way to go? Thanks Alex --

[WiX-users] german localization

2006-07-24 Thread Alexander Gnauck
Hello, following is missing in the German localization to compile with WixUI_InstallDir line 75: S&uchen... i work with the latest weekly release version 2.x could somebody add this to the source? Regards Alex - Take Sur