Re: [wix-users] (deprecated) Windows Installer Repair Failure

2015-07-28 Thread Nir Bar
nstall then full install, or delete/overwrite/add files. For minor upgardes you will not get any removal, just overwrite/add files. The partial log you posted isn't enough for me to understand which- if any- upgrade is occuring. - Nir Bar Freelance Developer Mail: nir@panel-sw.com

Re: [WiX-users] Possible Bug: RegDelete does not work properly with REG_KEY_32BIT on a 64-bit system

2015-07-15 Thread Nir Bar
You shuold OR it with the KEY_READ See Registry Key Security and Access Rights <https://msdn.microsoft.com/en-us/library/windows/desktop/ms724878(v=vs.85).aspx> ----- Nir Bar Freelance Developer Mail: nir@panel-sw.com Web: www.panel-sw.com - C++ On Windows, Linux and Em

Re: [WiX-users] Patching a product without ProductVersion property

2015-06-29 Thread Nir Bar
Patchwiz - Nir Bar Freelance Developer Mail: nir@panel-sw.com Web: www.panel-sw.com - C++ On Windows, Linux and Embedded Platforms - WiX & InstallShield -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Patching-a-pro

[WiX-users] Patching a product without ProductVersion property

2015-06-28 Thread Nir Bar
e for this product. Building the patch fails because the base is missing the ProductVersion. Is there any way to work around that? Thanks, Nir. ----- Nir Bar Freelance Developer Mail: nir@panel-sw.com Web: www.panel-sw.com - C++ On Windows, Linux and Embedded Platforms

Re: [WiX-users] Reboot required during major upgrade in-between uninstall and re-install

2015-06-24 Thread Nir Bar
You may be able to schedule RemoveExistingProducts after InstallExecute if you adhere to component rules <https://msdn.microsoft.com/en-us/library/aa372795(v=vs.85).aspx> . This will perform the uninstall after the reinstall and reboot on installation end. ----- Nir Bar Freelance Dev

Re: [WiX-users] Windows service doesn't remove from services.msc in windows 8 using WIX shortcut (C#)

2015-06-24 Thread Nir Bar
Sometimes Windows marks a service for deletion after restart. In this case you would see the service in the services UI until after restart. - Nir Bar Freelance Developer Mail: nir@panel-sw.com Web: www.panel-sw.com - C++ On Windows, Linux and Embedded Platforms - WiX

Re: [WiX-users] StrAllocSecure fails in AlocHelper - advice in understanding why.

2015-06-24 Thread Nir Bar
The log message should indicate the requested cch value. Also note that E_OUTOFMEMORY can be returned on two different flows in the function. Since the log message is slightly different you can tell which of these failed. Have you initialized your LPWSTR variable to NULL? - Nir Bar

Re: [WiX-users] Not to create key under HKCU path in the registry

2015-06-24 Thread Nir Bar
Specify a different Root attribute? - Nir Bar Freelance Developer Mail: nir@panel-sw.com Web: www.panel-sw.com - C++ On Windows, Linux and Embedded Platforms - WiX & InstallShield -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble

Re: [WiX-users] Delay in custom action

2015-06-13 Thread Nir Bar
If you add log messages during the custom action's code you can get a better understanding of what it is that causes the delay. ----- Nir Bar Freelance Developer Mail: nir@panel-sw.com Web: www.panel-sw.com - C++ On Windows, Linux and Embedded Platforms - WiX & Inst

Re: [WiX-users] CA Major Upgrade Condition

2015-06-13 Thread Nir Bar
Seems like WIX_UPGRADE_DETECTED should be enough. Why did you add the "Not REMOVE="ALL" part? - Nir Bar Freelance Developer Mail: nir@panel-sw.com Web: www.panel-sw.com - C++ On Windows, Linux and Embedded Platforms - WiX & InstallShield -- View this

Re: [WiX-users] Delay in custom action

2015-06-10 Thread Nir Bar
Can you post the log files of both installations? - Nir Bar Freelance Developer Mail: nir@panel-sw.com Web: www.panel-sw.com - C++ On Windows, Linux and Embedded Platforms - WiX & InstallShield -- View this message in context: http://windows-installer-xml-wix-toolset.68

Re: [WiX-users] automatic selection perUser/perMachine installation

2015-06-07 Thread Nir Bar
This article gives the guideelines for authoring a dual-context package: https://msdn.microsoft.com/en-us/library/dd408068(v=vs.85).aspx The condition you should test is ALLUSERS="1" for per-machine installation. ----- Nir Bar Freelance Developer Mail: nir@panel-sw.com Web:

Re: [WiX-users] automatic selection perUser/perMachine installation

2015-06-06 Thread Nir Bar
I think you should set property WixAppFolder="WixPerMachineFolder" if conditions are met for a per-machine installation ----- Nir Bar Freelance Developer Mail: nir@panel-sw.com Web: www.panel-sw.com - C++ On Windows, Linux and Embedded Platforms - WiX & InstallS

Re: [WiX-users] How to use ProgramFiles64Folder in ConfigurableDirectory

2015-06-05 Thread Nir Bar
You need another directory hierarchy between ProgramFiles64Folder and INSTALLLOCATION. - Nir Bar Freelance Developer Mail: nir@panel-sw.com Web: www.panel-sw.com - C++ On Windows, Linux and Embedded Platforms - WiX & InstallShield -- View this message in context:

Re: [WiX-users] Remove InstallShield Bootstrapper MSI

2015-06-05 Thread Nir Bar
InstallShield's bootstrapper usually shows up in Uninstall registry key <https://msdn.microsoft.com/en-us/library/aa372105%28v=vs.85%29.aspx> with an InstallShield_{ProductCode} form. See if you can find that in the registry ----- Nir Bar Freelance Developer Mail: nir@p

Re: [WiX-users] automatic selection perUser/perMachine installation

2015-06-05 Thread Nir Bar
This article should give you what you need https://msdn.microsoft.com/en-us/library/aa367559%28v=vs.85%29.aspx <https://msdn.microsoft.com/en-us/library/aa367559%28v=vs.85%29.aspx> ----- Nir Bar Freelance Developer Mail: nir@panel-sw.com Web: www.panel-sw.com - C++ On W

Re: [WiX-users] Burn, deploy and rollback Patches

2015-05-29 Thread Nir Bar
Is patch 1.0.1 Uninstallable? https://msdn.microsoft.com/en-us/library/aa372102%28v=vs.85%29.aspx - Nir Bar Freelance Developer Mail: nir@panel-sw.com Web: www.panel-sw.com - C++ On Windows, Linux and Embedded Platforms - WiX & InstallShield -- View this message in con

Re: [WiX-users] WixUI_FeatureTree : What if all deselected?

2015-05-29 Thread Nir Bar
You should probably set a core feature to required: Feature <http://wixtoolset.org/documentation/manual/v3/xsd/wix/feature.html> @Absent="disallow" - Nir Bar Freelance Developer Mail: nir@panel-sw.com Web: www.panel-sw.com - C++ On Windows, Linux and Embedded Pla

Re: [WiX-users] Need help with uninstall - doesn't remove files/folders

2015-05-18 Thread Nir Bar
You seem to have broken component rules for minor upgrades <https://msdn.microsoft.com/en-us/library/aa367850%28v=vs.85%29.aspx> which caused feature states to be advertised rather than installed. Try generating a patch package for the minor upgrade to get the validation errors. ---

Re: [WiX-users] Getting ProductVersion of an msi from wix

2015-05-14 Thread Nir Bar
Use RegistrySearch on Uninstall Registry Key, <https://msdn.microsoft.com/en-us/library/aa372105%28v=vs.85%29.aspx> DisplayVersion value. ----- Nir Bar Freelance Developer Mail: nir@panel-sw.com Web: www.panel-sw.com - C++ On Windows, Linux and Embedded Platforms

Re: [WiX-users] specifying an installed executable to be run at boot time

2015-05-07 Thread Nir Bar
3/xsd/wix/serviceinstall.html> with local system account. - Nir Bar Freelance Developer Mail: nir@panel-sw.com Web: www.panel-sw.com - C++ On Windows, Linux and Embedded Platforms - WiX & InstallShield -- View this message in context: http://windows-installer-xml-wix-toolset.6875

Re: [WiX-users] Checking for IIS modules

2015-05-01 Thread Nir Bar
You can use ProductSearch <http://wixtoolset.org/documentation/manual/v3/xsd/util/productsearch.html> to detect if a product is installed (such as AppWarmup) To ensure windows features are turned-on use dism <https://technet.microsoft.com/en-us/library/hh824822.aspx> . -

Re: [WiX-users] Custom Bootstrapper Application - accessing variables set at custom actions

2015-04-27 Thread Nir Bar
The custom action code sets a MSI property, not a burn variable. You have no WiX-standard way of doing so, however you could you an atom table entry <https://msdn.microsoft.com/en-us/library/windows/desktop/ms649053%28v=vs.85%29.aspx> for that. ----- Nir Bar Freelance Developer Mai

Re: [WiX-users] Disable ARP entry for ExePackage

2015-04-26 Thread Nir Bar
I don't understand... do you have 2 bundles or 1? Anyway you can set a registry value to hide it from ARP: Key: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\ Name: SystemComponent Type: DWORD Data: 1 ----- Nir Bar Freelance Developer Mail: nir@panel-sw.com

Re: [WiX-users] BootstrapperCore.config : what are valid values for supportedFramework

2015-04-24 Thread Nir Bar
The version attribute complements the registry key where 'Install' value will be tested. Meaning that this registry value will be checked to exist: Key: HKLM\SOFTWARE\Microsoft\NET Framework Setup\NDP\ Name: Install ----- Nir Bar Freelance Developer Mail: nir@panel-sw.com Web:

Re: [WiX-users] heat.exe: How to generate unique but human readable IDs for directories, components and files

2015-04-22 Thread Nir Bar
You can run heat with unique IDs and then apply a XSLT transform to prefix each ID with the file name. - Nir Bar Freelance Developer Mail: nir@panel-sw.com Web: www.panel-sw.com - C++ On Windows, Linux and Embedded Platforms - WiX & InstallShield -- View this messag

Re: [WiX-users] Too Many Events Using InstallLogModes

2015-04-21 Thread Nir Bar
It doesn't really matter- the point is that Windows Installer supports these logging level regardless of how you triggered it, be it msiexec or DFT. These are also the same levels that MsiEnableLog <https://msdn.microsoft.com/en-us/library/aa370091(v=vs.85).aspx> has. --

Re: [WiX-users] [WIX]: Localization issue of Spanish Language errors

2015-04-21 Thread Nir Bar
Do all the dialog texts translate OK, and just the errors are in English? - Nir Bar Freelance Developer Mail: nir@panel-sw.com Web: www.panel-sw.com - C++ On Windows, Linux and Embedded Platforms - WiX & InstallShield -- View this message in context: http://win

Re: [WiX-users] Too Many Events Using InstallLogModes

2015-04-21 Thread Nir Bar
y need basic logging + progress then errors, warnings, progress and dialog (not sure what that means) are enough ----- Nir Bar Freelance Developer Mail: nir@panel-sw.com Web: www.panel-sw.com - C++ On Windows, Linux and Embedded Platforms - WiX & InstallShield -- View this

Re: [WiX-users] After upgrade all packages are removed

2015-04-21 Thread Nir Bar
Patching is not meant for major upgrades <https://msdn.microsoft.com/en-us/library/aa369786(v=vs.85).aspx> , instead use a full-blown msi for that. ----- Nir Bar Freelance Developer Mail: nir@panel-sw.com Web: www.panel-sw.com - C++ On Windows, Linux and Embedded Pla

Re: [WiX-users] Multiple user dialogs to multi folder directories in WIX‏

2015-04-20 Thread Nir Bar
You can take example from WiX UI extension in src\ext\UIExtension\wixlib\InstallDirDlg.wxs You'll need to replace WIXUI_INSTALLDIR property with another property name. ----- Nir Bar Freelance Developer Mail: nir@panel-sw.com Web: www.panel-sw.com - C++ On Windows, Linux and Emb

Re: [WiX-users] [WIX]: Localization issue of Spanish Language errors

2015-04-20 Thread Nir Bar
System error messages are in the system's locale. Windosw Installer error texts in spanish (and other languages) are in WiX's UI extension. Which error are you getting in English? ----- Nir Bar Freelance Developer Mail: nir@panel-sw.com Web: www.panel-sw.com - C++ On Wind

Re: [WiX-users] How to include an entire folder as payload for my custom bootstrapper application?

2015-04-20 Thread Nir Bar
The Name attribute of the Payload <http://wixtoolset.org/documentation/manual/v3/xsd/wix/payload.html> element can specify folder hierarchy. ----- Nir Bar Freelance Developer Mail: nir@panel-sw.com Web: www.panel-sw.com - C++ On Windows, Linux and Embedded Platforms

Re: [WiX-users] Exclude some files and folders in later version installation and patch

2015-04-19 Thread Nir Bar
Can you post the components and files wxs? - Nir Bar Freelance Developer Mail: nir@panel-sw.com Web: www.panel-sw.com - C++ On Windows, Linux and Embedded Platforms - WiX & InstallShield -- View this message in context: http://windows-installer-xml-wix-toolset.68755

Re: [WiX-users] How to include an entire folder as payload for my custom bootstrapper application?

2015-04-19 Thread Nir Bar
You can harvest the folder using heat and a apply a XSLT transform to convert the components and files to payloads. - Nir Bar Freelance Developer Mail: nir@panel-sw.com Web: www.panel-sw.com - C++ On Windows, Linux and Embedded Platforms - WiX & InstallShield -- View

Re: [WiX-users] Exclude some files and folders in later version installation and patch

2015-04-19 Thread Nir Bar
You should remove the explicit RemoveExistingProducts in InstallExecuteSequence. Instead put Schedule="afterInstallFinalize" in MajorUpgrade <http://wixtoolset.org/documentation/manual/v3/xsd/wix/majorupgrade.html> element. - Nir Bar Freelance Developer Mail: nir@p

Re: [WiX-users] Exclude some files and folders in later version installation and patch

2015-04-19 Thread Nir Bar
.85).aspx> to make sure that fits your update scenario. If it doesn't match then you can use major upgardes with late removal of the existing product - read RemoveExistingProducts <https://msdn.microsoft.com/en-us/library/aa371197%28v=vs.85%29.aspx> . - Nir Bar Freelan

Re: [WiX-users] Heat source path

2015-04-17 Thread Nir Bar
Have you tried not specifying a variable to heat? - Nir Bar Freelance Developer Mail: nir@panel-sw.com Web: www.panel-sw.com - C++ On Windows, Linux and Embedded Platforms - WiX & InstallShield -- View this message in context: http://windows-installer-xml-wix-toolset.68

Re: [WiX-users] Control panel entry in Windows Server 2003 OS

2015-04-16 Thread Nir Bar
n ARP. Can you check there to see if SystemComponent is present? You can author a ARPSYSTEMCOMPONENT <https://msdn.microsoft.com/en-us/library/aa367750%28v=vs.85%29.aspx> property in your MSI to acheive the same. - Nir Bar Freelance Developer Mail: nir@panel-sw.com Web: ww

Re: [WiX-users] Setting property values based on Visual Studio build configurations.

2015-04-15 Thread Nir Bar
n how to use them. - Nir Bar Freelance Developer Mail: nir@panel-sw.com Web: www.panel-sw.com - C++ On Windows, Linux and Embedded Platforms - WiX & InstallShield -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Setting-property

Re: [WiX-users] Wix preprocessor extension: multiple prefixes

2015-04-15 Thread Nir Bar
Can you post the complete code for the extension? - Nir Bar Freelance Developer Mail: nir@panel-sw.com Web: www.panel-sw.com - C++ On Windows, Linux and Embedded Platforms - WiX & InstallShield -- View this message in context: http://windows-installer-xml-wix-toolset.68

Re: [WiX-users] Setting property values based on Visual Studio build configurations.

2015-04-15 Thread Nir Bar
tion)'=='Release'">$(DefineConstants);MyConfig=MyReleaseValue</DefineConstants> </PropertyGroup> - Nir Bar Freelance Developer Mail: nir@panel-sw.com Web: www.panel-sw.com - C++ On Windows, Linux and Embedded Platforms - WiX & InstallShield -- View this

Re: [WiX-users] MSI Buttons become Unresponsive on Server 2012R2 and Windows Installer Service 5.0

2015-04-14 Thread Nir Bar
Can you upload the log files? - Nir Bar Freelance Developer Mail: nir@panel-sw.com Web: www.panel-sw.com - C++ On Windows, Linux and Embedded Platforms - WiX & InstallShield -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com

Re: [WiX-users] Verb localization

2015-04-14 Thread Nir Bar
Might be a bug in MSDN documentation. Then you're left with creating language transforms for each language, embedding them in the MSI, and setting the TRANSFORMS property with the language Id from WiX's bundle. ----- Nir Bar Freelance Developer Mail: nir@panel-sw.com Web:

Re: [WiX-users] Verb localization

2015-04-13 Thread Nir Bar
field of Verb table in a MSI editor ( orca <https://msdn.microsoft.com/en-us/library/aa370557%28v=vs.85%29.aspx> or any other MSI editor)? - Nir Bar Freelance Developer Mail: nir@panel-sw.com Web: www.panel-sw.com - C++ On Windows, Linux and Embedded Platforms - WiX &

Re: [WiX-users] Verb localization

2015-04-13 Thread Nir Bar
You should use . - Nir Bar Freelance Developer Mail: nir@panel-sw.com Web: www.panel-sw.com - C++ On Windows, Linux and Embedded Platforms - WiX & InstallShield -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/

Re: [WiX-users] How can I prevent Bundle from overriding MSI Upgrade Code?

2015-04-13 Thread Nir Bar
/manual/v3/xsd/wix/msipackage.html> @Visible attribute. - Nir Bar Freelance Developer Mail: nir@panel-sw.com Web: www.panel-sw.com - C++ On Windows, Linux and Embedded Platforms - WiX & InstallShield -- View this message in context: http://windows-installer-xml-wix-toolset

Re: [WiX-users] Verb localization

2015-04-12 Thread Nir Bar
erty using a MsiProperty <http://wixtoolset.org/documentation/manual/v3/xsd/wix/msiproperty.html> element on the bundle. - Nir Bar Freelance Developer Mail: nir@panel-sw.com Web: www.panel-sw.com - C++ On Windows, Linux and Embedded Platforms - WiX & InstallShield -

Re: [WiX-users] How can I prevent Bundle from overriding MSI Upgrade Code?

2015-04-12 Thread Nir Bar
ucts to coexist you'll need to generate separate upgrade codes for the bundles just as you do for the MSI's. I'm not sure what is the problem you're experiencing- the fact that the bundle has a so-called upgrade code doesn't in itself present any problem. Can you share what

Re: [WiX-users] Kazakh language localization

2015-04-05 Thread Nir Bar
This might suggest a bug in WiX's built-in strings. Have you tried referencing one of the predefined UI's and building for Kazakh language? If that fails then you should probably open a bug on it. ----- Nir Bar Freelance Developer Mail: nir@panel-sw.com Web: www.panel-sw.com

Re: [WiX-users] Using burn to download, unzip, install package

2015-04-02 Thread Nir Bar
ually determinating the detection condition, where some research is due. BTW WinZip self-extractor has the /auto command line switch to silently unpack and install. ----- Nir Bar Freelance Developer Mail: nir@panel-sw.com Web: www.panel-sw.com - C++ On Windows, Linux and Embedded Plat

Re: [WiX-users] Kazakh language localization

2015-04-01 Thread Nir Bar
The strings from en-US worked OK because English letters are contained in code page 1251. ----- Nir Bar Freelance Developer Mail: nir@panel-sw.com Web: www.panel-sw.com - C++ On Windows, Linux and Embedded Platforms - WiX & InstallShield -- View this message in cont

Re: [WiX-users] Populating registry multiString MultiStringValue elements

2015-03-31 Thread Nir Bar
Try setting a property to the multi-string value with [~] as the separator between strings. - Nir Bar Freelance Developer Mail: nir@panel-sw.com Web: www.panel-sw.com - C++ On Windows, Linux and Embedded Platforms - WiX & InstallShield -- View this message in context:

Re: [WiX-users] Reading the Directory table

2015-03-30 Thread Nir Bar
Can you post the actual SQL string that is the result of session.Database.Tables["ProtectedConfigFolders"].SqlSelectString ? ----- Nir Bar Freelance Developer Mail: nir@panel-sw.com Web: www.panel-sw.com - C++ On Windows, Linux and Embedded Platforms - WiX &

Re: [WiX-users] WIX force GUI on uninstall

2015-03-27 Thread Nir Bar
. Of course you can start from one of the existing themes in WiX Standard BAs - in WiX source code hierarchy src\ext\BalExtension\wixstdba\Resources Another option is developing a WPF bundle application. You can use WiX's own setup as a starting point (in WiX source src\Setup\WixBA)

Re: [WiX-users] Bootstrapper custom background

2015-03-27 Thread Nir Bar
You should author a theme using thmutil <http://wixtoolset.org/documentation/manual/v3/xsd/thmutil/> The Theme <http://wixtoolset.org/documentation/manual/v3/xsd/thmutil/theme.html> 's @ImageFile attribute specifies a background image. - Nir Bar Freelance Dev

Re: [WiX-users] Predicting Bootstrapper Cache Location

2015-03-26 Thread Nir Bar
This post may help: http://stackoverflow.com/questions/17269942/not-possible-to-pass-wixbundleproviderkey-variable-to-msipackage - Nir Bar Freelance Developer Mail: nir@panel-sw.com Web: www.panel-sw.com - C++ On Windows, Linux and Embedded Platforms - WiX & InstallSh

Re: [WiX-users] WIX force GUI on uninstall

2015-03-26 Thread Nir Bar
You can do that with burn as a bootstrapper. - Nir Bar Freelance Developer Mail: nir@panel-sw.com Web: www.panel-sw.com - C++ On Windows, Linux and Embedded Platforms - WiX & InstallShield -- View this message in context: http://windows-installer-xml-wix-toolset.68755

Re: [WiX-users] [WIX]: How to extract the files in selected folder using MSI dialog.

2015-03-26 Thread Nir Bar
Can you upload the log file? - Nir Bar Freelance Developer Mail: nir@panel-sw.com Web: www.panel-sw.com - C++ On Windows, Linux and Embedded Platforms - WiX & InstallShield -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com

Re: [WiX-users] How to supersede a minor update in next patch.

2015-03-25 Thread Nir Bar
tried that but I think it should work) - Nir Bar Freelance Developer Mail: nir@panel-sw.com Web: www.panel-sw.com - C++ On Windows, Linux and Embedded Platforms - WiX & InstallShield -- View this message in context: http://windows-installer-xml-wix-toolset.687559

Re: [WiX-users] How to Solve....Verify You have Sufficient system priviledge insatll service.

2015-03-25 Thread Nir Bar
You've set InstallPrivileges to "limited" in the Package element. Try omitting it (will default to "elevated") - Nir Bar Freelance Developer Mail: nir@panel-sw.com Web: www.panel-sw.com - C++ On Windows, Linux and Embedded Platforms - WiX &

Re: [WiX-users] How to supersede a minor update in next patch.

2015-03-24 Thread Nir Bar
Is it not possible to create two patches to v1.0.3 - one applicable on v1.0.1 and the other on v1.0.2? - Nir Bar Freelance Developer Mail: nir@panel-sw.com Web: www.panel-sw.com - C++ On Windows, Linux and Embedded Platforms - WiX & InstallShield -- View this messag

Re: [WiX-users] Prevent run of Custom action if product is installed.

2015-03-23 Thread Nir Bar
You should use REMOVE, not Remove - case matters. - Nir Bar Freelance Developer Mail: nir@panel-sw.com Web: www.panel-sw.com - C++ On Windows, Linux and Embedded Platforms - WiX & InstallShield -- View this message in context: http://windows-installer-xml-wix-too

Re: [WiX-users] Prevent run of Custom action if product is installed.

2015-03-23 Thread Nir Bar
You can also use msiext <http://dblock.github.io/msiext/> extension that has a DeleteFiles element. It should be conditioned like you would a custom action, unlike RemoveFolderEx which is conditioned by default by it's containing component's action. - Nir Bar Freelance

Re: [WiX-users] Prevent run of Custom action if product is installed.

2015-03-23 Thread Nir Bar
You can condition it on REMOVE <https://msdn.microsoft.com/en-us/library/aa371194%28v=vs.85%29.aspx> property instead of Installed. ----- Nir Bar Freelance Developer Mail: nir@panel-sw.com Web: www.panel-sw.com - C++ On Windows, Linux and Embedded Platforms

Re: [WiX-users] using custom variables on heat command line

2015-03-19 Thread Nir Bar
rence variables. ----- Nir Bar Freelance Developer Mail: nir@panel-sw.com Web: www.panel-sw.com - C++ On Windows, Linux and Embedded Platforms - WiX & InstallShield -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/using-custom-variable

Re: [WiX-users] using custom variables on heat command line

2015-03-19 Thread Nir Bar
: -wixvar Generate binder variables instead of preprocessor variables. Complete manual here: http://wixtoolset.org/documentation/manual/v3/overview/heat.html - Nir Bar Freelance Developer Mail: nir@panel-sw.com Web: www.panel-sw.com - C++ On Windows, Linux and Embedded Platf

Re: [WiX-users] Replace files added in minor upgrade

2015-03-18 Thread Nir Bar
/en-us/library/aa368267(v=vs.85).aspx> . ----- Nir Bar Freelance Developer Mail: nir@panel-sw.com Web: www.panel-sw.com - C++ On Windows, Linux and Embedded Platforms - WiX & InstallShield -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.

Re: [WiX-users] Xpath Expression

2015-03-17 Thread Nir Bar
tions or require a different usage of them. I suggest that you use this extension to get the XML full values without substring ops, and develop a custom action to take only the parts of the string you need. This will be relatively easy to do in C++ even if your knowledge in it is basic.

Re: [WiX-users] Choose language dialog

2015-03-16 Thread Nir Bar
required to allow the user to select a language. ----- Nir Bar Freelance Developer Mail: nir@panel-sw.com Web: www.panel-sw.com - C++ On Windows, Linux and Embedded Platforms - WiX & InstallShield -- View this message in context: http://windows-installer-xml-wix-toolset.68755

Re: [WiX-users] Is it possible to set the value of the Start Property of a ServiceInstall to the value of a property?

2015-03-15 Thread Nir Bar
You could use an immediate custom action to change the ServiceInstall table during installation. Personally I would go with separate components. - Nir Bar Freelance Developer Mail: nir@panel-sw.com Web: www.panel-sw.com - C++ On Windows, Linux and Embedded Platforms - WiX

Re: [WiX-users] heat fragments go one directory too low

2015-03-15 Thread Nir Bar
Add -srd to the command line. -srd Suppress harvesting the root directory as an element. See the full doc for heat here: http://wixtoolset.org/documentation/manual/v3/overview/heat.html - Nir Bar Freelance Developer Mail: nir@panel-sw.com Web: www.panel-sw.com - C

Re: [WiX-users] Replace files added in minor upgrade

2015-03-15 Thread Nir Bar
Are you sure that this message indecates a failure? Seems to me that it simply says patches 1.2 and 1.3 don't need to change this component since it has already been done by patch 1.1 What happens if you install version 1 and then apply patch 1.3? Does it still fail? ----- Nir Bar Free

Re: [WiX-users] Writing a C++ Custom Action Project

2015-03-13 Thread Nir Bar
nsist of 3 custom actions: 1) An immediate custom action that creates the CustomActionData for the deferred custom actions 2) Rollback custom action that will delete the file in case the installation is rolled back 3) Deferred custom action to create and write the file ----- Nir Bar Freelance Devel

Re: [WiX-users] Custom actions in C# and disabling buttons

2015-03-12 Thread Nir Bar
How about having the custom action set a property if the condition is met, and having the NewDialog event be conditioned on that property? - Nir Bar Freelance Developer Mail: nir@panel-sw.com Web: www.panel-sw.com - C++ On Windows, Linux and Embedded Platforms - WiX

Re: [WiX-users] Implementing Microsoft Fixit - is Wix the right tool?

2015-03-12 Thread Nir Bar
? - Nir Bar Freelance Developer Mail: nir@panel-sw.com Web: www.panel-sw.com - C++ On Windows, Linux and Embedded Platforms - WiX & InstallShield -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Implementing-Microsoft-Fixit-is-Wix

Re: [WiX-users] Reboots

2015-03-12 Thread Nir Bar
d CA code (#include ) ----- Nir Bar Freelance Developer Mail: nir@panel-sw.com Web: www.panel-sw.com - C++ On Windows, Linux and Embedded Platforms - WiX & InstallShield -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabbl

Re: [WiX-users] Setting install directory to a user chosen value.

2015-03-04 Thread Nir Bar
rectory element with hard code "C:\Program Files (x86)\". This is definitely not recommended. You should use [ProgramFilesFolder] instead. - - Nir Bar Freelance Developer. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Setting-install-d

Re: [WiX-users] Setting install directory to a user chosen value.

2015-03-03 Thread Nir Bar
end the last part on SetProperty / Publish elements. - - Nir Bar Freelance Developer. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Setting-install-directory-to-a-user-chosen-value-tp7599408p7599435.html Sent from the wi

Re: [WiX-users] How to localize appearance of a dialog using localization variables?

2015-03-02 Thread Nir Bar
You can use the localization UI element to overide these attributes in specific cultures. See http://wixtoolset.org/documentation/manual/v3/xsd/wixloc/ui.html -- Nir Freelance Developer. -- Dive into the World of Parallel

Re: [WiX-users] Issue with Upgrade/Install

2015-03-02 Thread Nir Bar
As a last resort you could use MsiZap to remove the old product from Windows Installer registry locations. That would leave the registry without any trace of the previous product. -- Nir Freelance Developer. -- Dive into

Re: [WiX-users] braces need to be escaped in properties?

2015-02-27 Thread Nir Bar
Check this article on escaping characters in formatted values: https://msdn.microsoft.com/en-us/library/aa368609%28v=vs.85%29.aspx Specifically for your question: - Square brackets ([ ]) or curly braces ({ }) with no matching pair are left in the text. - If a substring is enclosed in cur

Re: [WiX-users] using a custom action to read properties from a XML file

2015-02-27 Thread Nir Bar
I have a WiX extension that supports setting XML values into MSI properties. Its an open-source project: https://bitbucket.org/nirbar1/panelswwixextension To use it you should: 1. Clone the repository. 2. Update to the latest "default" branch 3. Build "PanelSwWixExtension" project in "Pa

Re: [WiX-users] How to localize appearance of a dialog using localization variables?

2015-02-27 Thread Nir Bar
You can define your own localization string loc.RTL that will be either yes or no. Nir -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot M

Re: [WiX-users] LGHT0094 when adding a child bundle to a parent bundle chain

2015-02-26 Thread Nir Bar
I have never tried nesting bundles. As an alternative you can have both bundles include a common fragment .wxs file that contains the common packages. Nir -- Dive into the World of Parallel Programming The Go Parallel Webs

Re: [WiX-users] Installing the Visual Studio Redistributable from within MSI Failing

2015-02-26 Thread Nir Bar
If you don't have the merge module, and you do have the executable installer for VC 2008, then you'll need to use a bundle to install it. Nir -- Dive into the World of Parallel Programming The Go Parallel Website, sponsore

Re: [WiX-users] How to localize appearance of a dialog using localization variables?

2015-02-26 Thread Nir Bar
You can use the attributes RightAligned, RightToLeft, LeftScroll of each relevant control/dialog. This will cause texts to be right-aligned, read from right-to-left and scroll bars to appear on control's left side. However it will not cause the controls themselves to be right-aligned (meaning that

Re: [WiX-users] Registry keys not written even though log shows it

2015-02-26 Thread Nir Bar
There are some options I can think of: 1. The component's KeyPath is the directory. If the installation was a repair rather than fresh-install, and if the directory already existed, then the registry keys and values wouldn't have been re-written. 2. Did the user look for the registry v

Re: [WiX-users] Installing the Visual Studio Redistributable from within MSI Failing

2015-02-25 Thread Nir Bar
You should utilize the VS runtimes' merge modules rather than the executable installers. The merge modules MSM files are provided alongside the Visual Studio installation. Nir -- Dive into the World of Parallel Programmin

Re: [WiX-users] Upgrade issue

2015-02-25 Thread Nir Bar
This happens when the bundle's version doesn't change. Nir -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all th

Re: [WiX-users] How to localize appearance of a dialog using localization variables?

2015-02-25 Thread Nir Bar
You can use a Condition element under the relevant Control element. In the below sample the control will be hidden for US English: ProductLanguage=1033 N

Re: [WiX-users] Registry keys not written even though log shows it

2015-02-23 Thread Nir Bar
Can you post the WiX authoring for this registry value? Nir -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity,

Re: [WiX-users] Errors for COM+ Extension

2015-02-22 Thread Nir Bar
Have you added WixComPlusExtension to you project references (assuming you're working with Visual Studio)? Nir -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your B

Re: [WiX-users] How to add shortcut if Target is generated dynamically?

2015-02-20 Thread Nir Bar
You can use XSLT transfroms to do that. Then on heat.exe command line add *-t MyXsl.xslt* The XSLT file should take this form: http://www.w3.org/1999/XSL/Transform"; xmlns:wix="http://schemas.microsoft.com/wix/2006/wi"; xmlns:msxsl="urn:schemas-microsoft-com:xslt" exclude-resu

Re: [WiX-users] EnableUserControl (or Secure attribute) vs Maintenance (Change)

2015-02-19 Thread Nir Bar
You can use UserSID property to comapre it to "the" administrator's SID. Nir -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from A

Re: [WiX-users] MSI Feature and Condition element in MSI Repair using Custom Bootstrapper Application

2015-02-17 Thread Nir Bar
When repairing a MSI only features and components that were installed in first place are being reinstallde. You can read more about it in the documentation of REINSTALL property. You can try using COMPADDLOCAL

Re: [WiX-users] How can I implement mutually exclusive bundles?

2015-02-16 Thread Nir Bar
Author an OptionalUpdateRegistration element in bundle A. In bundle B put a RegistrySearch element to look for the bundle A's update r

Re: [WiX-users] Trigger custom action on silence mode install

2015-02-16 Thread Nir Bar
You can condition your custom action by the property UILevel . Anything less than 5 should trigger your custom action. Nir -- Download BIRT iHub F-Type -

[WiX-users] Wix RemoveFile for removing leftovers

2015-02-12 Thread Nir Bar
You need to manually generate a Guid for the component. Also add a CreateFolder element to the component to ensure it would delete the folder on uninstall: * * Nir -- Dive into the World of Parallel

Re: [WiX-users] wix switch between perUser and perMachine

2015-02-12 Thread Nir Bar
Check this article: https://msdn.microsoft.com/en-us/library/windows/desktop/dd408068(v=vs.85).aspx It explains how to author a dual-purpose MSI. Nir -- Dive into the World of Parallel Programming. The Go Parallel Website

  1   2   >