Skip to content

Commit

Permalink
Fix AD validation
Browse files Browse the repository at this point in the history
  • Loading branch information
Jbob committed May 28, 2015
1 parent deafeb7 commit fe6b67f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Binary file modified FOGService.v12.suo
Binary file not shown.
4 changes: 2 additions & 2 deletions Installer/Product.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@
-->

<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<Product Id="*" Name="FOG Service" Language="1033" Version="0.8.1" UpgradeCode="1CCFDEAF-53E9-43AC-AE18-F9F86CEFA4EA"
<Product Id="*" Name="FOG Service" Language="1033" Version="0.8.2" UpgradeCode="1CCFDEAF-53E9-43AC-AE18-F9F86CEFA4EA"
Manufacturer="FOG">
<Package Description="FOG Service" Comments="A client for the FOG project" InstallerVersion="300" Compressed="yes"
InstallScope="perMachine" />
<!-- Remove old versions -->
<Upgrade Id="1CCFDEAF-53E9-43AC-AE18-F9F86CEFA4EA">
<UpgradeVersion OnlyDetect="yes" Minimum="0.0.0" Property="NEWERVERSIONDETECTED" IncludeMinimum="no" />
<UpgradeVersion OnlyDetect="no" Minimum="0.0.0" Maximum="0.8.0" Property="OLDERVERSIONBEINGUPGRADED"
<UpgradeVersion OnlyDetect="no" Minimum="0.0.0" Maximum="0.8.1" Property="OLDERVERSIONBEINGUPGRADED"
IncludeMinimum="no" IncludeMaximum="yes" MigrateFeatures="yes" />
</Upgrade>
<InstallExecuteSequence>
Expand Down
2 changes: 1 addition & 1 deletion Modules/HostnameChanger/HostnameChanger.cs
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ private void RegisterComputer(Response response)
return;
}

if (!response.IsFieldValid("ADDom") && !response.IsFieldValid("ADUser") && !response.IsFieldValid("ADPass"))
if (!response.IsFieldValid("#ADDom") || !response.IsFieldValid("#ADUser") || !response.IsFieldValid("#ADPass"))
{
LogHandler.Error(Name, "Required Domain Joining information is missing");
return;
Expand Down

0 comments on commit fe6b67f

Please sign in to comment.