[wix-users] Error while setting predefined variables

Anil Kumar kpanilkumar.mca at gmail.com
Thu Feb 25 07:48:51 PST 2016


Hi,
I have checked the MSI using orca. I didnt find any entry for these
variables(ProgramFilesFolder, CommonFilesFolder, etc...).

I am not sure why these variables are missing, do I have to add it anywhere?


fyi.. I have a script which will define installation location during
runtime. Due to this issue, installation is happening in user's directory
only([LocalAppDataFolder]).

    <SetProperty Id="WIXUI_PERMACHINE_INSTALLDIR"
Value="[ProgramFilesFolder]DS\$(var.Product_Name)" Before="CostInitialize"
/>
    <SetProperty Id="WIXUI_PERUSER_INSTALLDIR"
Value="[LocalAppDataFolder]DS\Programs\$(var.Product_Name)"
Before="CostInitialize" />

Thanks

On Thu, Feb 25, 2016 at 12:55 AM, Phill Hogland <phill.hogland at rimage.com>
wrote:

> These are MSI errors (and not WiX variables, although there may be a
> related variable in the wix code).  The following link explains the error
>
> https://msdn.microsoft.com/en-us/library/windows/desktop/aa372835(v=vs.85).aspx
>
> The directory entry '[2]' does not exist in the Directory table.  So "2:
> ProgramFilesFolder " is not defined in the Directory table.  I am probably
> not the one to interpret this but I would look at the MSI package with orca
> or something like that.
>
> -----Original Message-----
> From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf
> Of Anil Kumar
> Sent: Wednesday, February 24, 2016 1:19 PM
> To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
> Subject: [wix-users] Error while setting predefined variables
>
> Hi,
> I am getting below error while setting WIX predefined variables. I am not
> modifying these predefined variables through WIX script. It was working
> properly, not sure why all of sudden I started getting this error. Can
> anyone guide me in fixing this issue.
>
>
> MSI (c) (30:78) [00:21:45:820]: Note: 1: 2727 2: ProgramFilesFolder MSI
> (c) (30:78) [00:21:45:820]: Error setting paths ProgramFilesFolder: 1:
> 2727 2: ProgramFilesFolder
> MSI (c) (30:78) [00:21:45:820]: Note: 1: 2727 2: CommonFilesFolder MSI (c)
> (30:78) [00:21:45:820]: Error setting paths CommonFilesFolder: 1:
> 2727 2: CommonFilesFolder
> MSI (c) (30:78) [00:21:45:820]: Note: 1: 2727 2: ProgramFiles64Folder MSI
> (c) (30:78) [00:21:45:820]: Error setting paths ProgramFiles64Folder:
> 1: 2727 2: ProgramFiles64Folder
> MSI (c) (30:78) [00:21:45:820]: Note: 1: 2727 2: CommonFiles64Folder MSI
> (c) (30:78) [00:21:45:820]: Error setting paths CommonFiles64Folder: 1:
> 2727 2: CommonFiles64Folder
> MSI (c) (30:78) [00:21:45:820]: PROPERTY CHANGE: Adding ALLUSERS property.
> Its value is '2'.
>
>
> Thanks
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>


More information about the wix-users mailing list