OK there doesn't seem to be anyway to get this to expand out that

I can see, but we should be able to hijack the value from INSTALLDIR
through the UI basically?
This commit is contained in:
Rob Emery 2026-04-11 10:47:02 +01:00
parent 2868be4fb9
commit 98ab8f57c8
2 changed files with 2 additions and 3 deletions

View File

@ -16,7 +16,7 @@
<!-- Install directory -->
<Control Id="NameLabel1" Type="Text" X="30" Y="60" Width="220" Height="15" TabSkip="no" Text="&amp;Installation Folder (executable and configuration file):" />
<Control Id="NameEdit1" Type="Edit" X="30" Y="75" Width="220" Height="18" Property="INSTALLATIONDIRECTORY" Text="[INSTALLATIONDIRECTORY]" />
<Control Id="NameEdit1" Type="Edit" X="30" Y="75" Width="220" Height="18" Property="INSTALLATIONDIRECTORY" Text="[INSTALLDIR]" />
<!-- NAVIDROME_PORT -->
<Control Id="NameLabel2" Type="Text" X="30" Y="93" Width="100" Height="15" TabSkip="no" Text="&amp;Port:" />

View File

@ -32,8 +32,7 @@
<Property Id="ND_DATAFOLDER" Value="C:\ProgramData\Navidrome">
<RegistrySearch Root='HKLM' Key='SOFTWARE\Deluan\$(var.ProductName)\Installer' Name='ND_DATAFOLDER' Type='raw' />
</Property>
<Property Id="INSTALLATIONDIRECTORY" Value="[$(var.PlatformProgramFilesFolder)]\Navidrome">
<Property Id="INSTALLATIONDIRECTORY" Value="UNSET">
<RegistrySearch Root='HKLM' Key='SOFTWARE\Deluan\$(var.ProductName)\Installer' Name='INSTALLATIONDIRECTORY' Type='raw' />
</Property>