Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8523355
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T07:23:11+00:00 2026-06-11T07:23:11+00:00

In my wix installer I have these properties to get sql data path <Property

  • 0

In my wix installer I have these properties to get sql data path

<Property Id="SQLSERVERINSTANCENAME" >
  <RegistrySearch Id="SqlServerInstanceName" Root="HKLM" Key="SOFTWARE\Microsoft\Microsoft SQL Server\Instance Names\SQL" Name="MSSQLSERVER" Type="raw"/>
</Property>

<Property Id="SQLSERVERDATAPATH" >
  <RegistrySearch Id="SqlServerDataPath" Root="HKLM" Key="SOFTWARE\Microsoft\Microsoft SQL Server\[SQLSERVERINSTANCENAME]\Setup" Name="SQLDataRoot" Type="raw"/>
</Property>

but it doesn’t work on 64bit Windows 2008 Server R2

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T07:23:12+00:00Added an answer on June 11, 2026 at 7:23 am

    Try adding Win64="yes", this will tell the RegistrySearch to look in the 64-bit of the registry. Should have added this will tell the Search to only look in the 64-bit part if you need it to search both then use Win64="$(var.Platform)" and specify the platforms like so:

    <!-- Define platform-specific names and locations -->
    <?if $(var.Platform) = x64 ?>
    <?define ProductName = "$(var.ProductName)" ?>
    <?define Win64 = "yes" ?>
    <?define PlatformProgramFilesFolder = "ProgramFiles64Folder" ?>
    <?define PlatformCommonFilesFolder = "CommonFiles64Folder" ?>
    <?define UpgradeCode = "98CECA6F-D312-466E-B04F-088ECD9CFCA2" ?>
    <?else ?>
    <?define ProductName = "$(var.ProductName) (x86)" ?>
    <?define Win64 = "no" ?>
    <?define PlatformProgramFilesFolder = "ProgramFilesFolder" ?>
    <?define PlatformCommonFilesFolder = "CommonFilesFolder" ?>
    <?define UpgradeCode = "6B968607-8D3E-45AF-A590-253E54EE4617" ?>
    <?endif ?>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a WiX installer which installs .Net 4 and SQL as prerequisites. All
I have a ServiceInstall component in a WiX installer where I have a requirement
I have created a wix installer project which is working fine. It installs my
I have a WiX installer that I would like to check for .Net 3.5,
I have a simple WIX installer which will install a Windows Service. I have
I have a project where I create WiX (Windows Installer for XML) files, when
We are developing a customized installer using Wix and Wpf. We have developed some
Why should one go for Windows Installer XML (WiX) when we have in built
I have a fairly complicated installer that I'm writing in Wix that has a
I have Wix 3.5, WixUI_Mondo dialogs and only one Feature to install. The Installer

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.