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

2015-07-28 Thread Nir Bar
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 Web: www.panel-sw.com

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

2015-07-16 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 Embedded

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-product-without

[WiX-users] Patching a product without ProductVersion property

2015-06-28 Thread Nir Bar
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 - WiX

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

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

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

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 message in context: http

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

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: www.panel

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 InstallShield -- View

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@panel-sw.com Web

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

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 Windows, Linux

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 Platforms - WiX

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 context

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. - Nir Bar

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

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

2015-05-07 Thread Nir Bar
/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.687559.n2.nabble.com

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 . - Nir Bar

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

Re: [WiX-users] BootstrapperCore.config wix.bootstrapper : 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\version 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 message

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 Platforms - WiX

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

2015-04-21 Thread Nir Bar
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 message

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. - Nir Bar Freelance

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://windows-installer

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

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 Embedded

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 Windows, Linux

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

2015-04-19 Thread Nir Bar
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 Freelance Developer Mail: nir@panel

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@panel-sw.com Web

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
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.687559.n2

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

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

2015-04-16 Thread Nir Bar
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: www.panel-sw.com - C++ On Windows

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

2015-04-15 Thread Nir Bar
;/DefineConstantsgt; lt;/PropertyGroupgt; - 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] Setting property values based on Visual Studio build configurations.

2015-04-15 Thread Nir Bar
, and Preprocessor http://wixtoolset.org/documentation/manual/v3/overview/preprocessor.html on 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

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

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: www.panel

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/MSI

Re: [WiX-users] Verb localization

2015-04-13 Thread Nir Bar
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 InstallShield -- View this message

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

2015-04-13 Thread Nir Bar
/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.687559.n2.nabble.com/How-can

Re: [WiX-users] Verb localization

2015-04-13 Thread Nir Bar
You should use Verb Id=NewVerb Command=[NEW_VERB_COMMAND] Argument='%1' /. - 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

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

2015-04-12 Thread Nir Bar
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 is the actual problem? - Nir Bar

Re: [WiX-users] Verb localization

2015-04-12 Thread Nir Bar
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 -- View this message in context

Re: [WiX-users] Kazakh language localization

2015-04-06 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 - C

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

2015-04-02 Thread Nir Bar
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 Platforms

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 context: http://windows

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

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 InstallShield -- View

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 Developer Mail: nir@panel

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

2015-03-27 Thread Nir Bar
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) - Nir Bar Freelance

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.687559.n2

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/WIX-How

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 InstallShield

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

2015-03-25 Thread Nir Bar
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.n2.nabble.com/How-to-supersede

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 InstallShield -- View this message

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 message

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

2015-03-24 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-toolset.687559

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 - WiX InstallShield

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 Developer Mail

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

2015-03-19 Thread Nir Bar
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-variables-on-heat

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

2015-03-19 Thread Nir Bar
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 Platforms - WiX

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

2015-03-18 Thread Nir Bar
-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.nabble.com

Re: [WiX-users] Xpath Expression

2015-03-17 Thread Nir Bar
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. - Nir Bar Freelance

Re: [WiX-users] Choose language dialog

2015-03-16 Thread Nir Bar
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.687559.n2.nabble.com/Choose

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 Freelance

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] Writing a C++ Custom Action Project

2015-03-13 Thread Nir Bar
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 Developer Mail: nir

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

2015-03-12 Thread Nir Bar
(#include wcautil.h) - 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/Reboots

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

2015-03-04 Thread Nir Bar
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-directory-to-a-user-chosen

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

2015-03-03 Thread Nir Bar
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 wix-users mailing list archive at Nabble.com

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

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

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

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

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

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,

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

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

2015-02-25 Thread Nir Bar
You can use a Condition http://wixtoolset.org/documentation/manual/v3/xsd/wix/condition.html element under the relevant Control http://wixtoolset.org/documentation/manual/v3/xsd/wix/control.html element. In the below sample the control will be hidden for US English: Control ... Condition

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

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

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

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: ?xml version=1.0 encoding=utf-8? xsl:stylesheet version=1.0 xmlns:xsl= http://www.w3.org/1999/XSL/Transform;

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

2015-02-19 Thread Nir Bar
You can use UserSID https://msdn.microsoft.com/en-us/library/aa372386%28v=vs.85%29.aspx property to comapre it to the administrator's SID. Nir -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from

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 https://msdn.microsoft.com/en-us/library/aa371175%28v=vs.85%29.aspx 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 http://wixtoolset.org/documentation/manual/v3/xsd/wix/optionalupdateregistration.html element in bundle A. In bundle B put a RegistrySearch http://wixtoolset.org/documentation/manual/v3/xsd/util/registrysearch.html element to look for the bundle A's update

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 https://msdn.microsoft.com/en-us/library/aa372096%28v=vs.85%29.aspx. Anything less than 5 should trigger your custom action. Nir -- Download BIRT iHub F-Type -

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

[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: Component Id=RemovingFiles *Guid=GENERATE-A-GUID-HERE* * CreateFolder /* RemoveFile Id=ConfigRemove Name=lpa.config On=uninstall/

Re: [WiX-users] util:filesearch only working with versioned

2015-02-11 Thread Nir Bar
No, it doesn't care for the file's version if you've set Result='exists'. Could it be a typo in the expected file name/path ? Nir -- Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel

  1   2   >