Skip to content

Commit 9acf041

Browse files
committed
v1.4.3
1 parent 0a4ec34 commit 9acf041

20 files changed

+26
-36
lines changed
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

Advanced Installer/Advanced Installer-cache/part1/ACCsetup1.cab renamed to Advanced Installer/Advanced Installer-cache/part3/ACCsetup1.cab

7.53 MB
Binary file not shown.

Advanced Installer/Advanced Installer-cache/part1/output-info.ini renamed to Advanced Installer/Advanced Installer-cache/part3/output-info.ini

16.1 KB
Binary file not shown.

Advanced Installer/Advanced Installer.aip

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@
4040
<ROW Property="BannerBitmap" Value="banner" MultiBuildValue="DefaultBuild:banner.png" Type="1" MsiKey="BannerBitmap"/>
4141
<ROW Property="DialogBitmap" Value="dialog" MultiBuildValue="DefaultBuild:dialogbitmap.png" Type="1" MsiKey="DialogBitmap"/>
4242
<ROW Property="Manufacturer" Value="Albert MN."/>
43-
<ROW Property="ProductCode" Value="1033:{2B851F35-BAC2-4535-8A0D-DA3B6D3FAB7C} " Type="16"/>
43+
<ROW Property="ProductCode" Value="1033:{1AE13B1D-FE8D-4745-98E8-98C9B5DFCF38} " Type="16"/>
4444
<ROW Property="ProductLanguage" Value="1033"/>
4545
<ROW Property="ProductName" Value="AssistantComputerControl"/>
46-
<ROW Property="ProductVersion" Value="1.4.1" Type="32"/>
46+
<ROW Property="ProductVersion" Value="1.4.2" Type="32"/>
4747
<ROW Property="SecureCustomProperties" Value="OLDPRODUCTS;AI_NEWERPRODUCTFOUND;AI_SETUPEXEPATH;SETUPEXEDIR"/>
4848
<ROW Property="UpgradeCode" Value="{8E6F4399-B513-420B-8E11-36837A8550EE}"/>
4949
<ROW Property="WindowsType9X" MultiBuildValue="DefaultBuild:Windows 9x/ME" ValueLocId="-"/>
@@ -151,7 +151,7 @@
151151
<ROW BootstrOptKey="GlobalOptions" DownloadFolder="[AppDataFolder][|Manufacturer]\[|ProductName]\prerequisites" Options="2"/>
152152
</COMPONENT>
153153
<COMPONENT cid="caphyon.advinst.msicomp.BuildComponent">
154-
<ROW BuildKey="DefaultBuild" BuildName="DefaultBuild" BuildOrder="1" BuildType="0" PackageFileName="ACCsetup" Languages="en" InstallationType="4" CabsLocation="1" PackageType="1" FilesInsideExe="true" ExeIconPath="..\..\ACC stuff\Images\Icons\logo_ico.ico" UseLargeSchema="true" ExeName="ACCsetup"/>
154+
<ROW BuildKey="DefaultBuild" BuildName="DefaultBuild" BuildOrder="1" BuildType="0" PackageFileName="ACCsetup" Languages="en" InstallationType="4" CabsLocation="1" PackageType="1" FilesInsideExe="true" ExeIconPath="..\..\ACC stuff\Images\Icons\logo_ico.ico" UseLargeSchema="true" ExeName="ACCsetup" UACExecutionLevel="2"/>
155155
</COMPONENT>
156156
<COMPONENT cid="caphyon.advinst.msicomp.DictionaryComponent">
157157
<ROW Path="&lt;AI_DICTS&gt;ui.ail"/>

AssistantComputerControl/App.config

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,6 @@
2929
<setting name="ComputerName" serializeAs="String">
3030
<value />
3131
</setting>
32-
<setting name="StartWithWindows" serializeAs="String">
33-
<value>False</value>
34-
</setting>
3532
<setting name="BetaProgram" serializeAs="String">
3633
<value>False</value>
3734
</setting>

AssistantComputerControl/AssistantComputerControl.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,6 @@
314314
<None Include="packages.config" />
315315
<None Include="Properties\Settings.settings">
316316
<Generator>SettingsSingleFileGenerator</Generator>
317-
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
318317
</None>
319318
<None Include="Resources\ACC_icon.ico" />
320319
</ItemGroup>

AssistantComputerControl/MainProgram.cs

Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,11 @@
2525

2626
namespace AssistantComputerControl {
2727
class MainProgram {
28-
public const string softwareVersion = "1.4.1",
29-
releaseDate = "2020-03-01 20:30:00", //YYYY-MM-DD H:i:s - otherwise it gives an error
28+
public const string softwareVersion = "1.4.2",
29+
releaseDate = "2020-03-08 20:30:00", //YYYY-MM-DD H:i:s - otherwise it gives an error
3030
appName = "AssistantComputerControl",
3131

32-
//sentryToken = "super_secret";
33-
sentryToken = "https://[email protected]/1287269"; //Remove on git push
32+
sentryToken = "super_secret";
3433

3534
static public bool debug = true,
3635
unmuteVolumeChange = true,
@@ -212,7 +211,7 @@ void ActualMain() {
212211
SetConsoleCtrlHandler(handler, true);
213212

214213
//Check if software starts with Windows
215-
if (!Properties.Settings.Default.StartWithWindows)
214+
if (!ACCStartsWithWindows())
216215
sysIcon.AddOpenOnStartupMenu();
217216

218217
//Create shortcut folder if doesn't exist
@@ -426,7 +425,7 @@ private static void CurrentDomain_UnhandledException(object sender, UnhandledExc
426425
tw.WriteLine("- Version; " + softwareVersion + ", " + releaseDate);
427426
tw.WriteLine("- UID; " + Properties.Settings.Default.UID);
428427
tw.WriteLine("- Running from; " + currentLocationFull);
429-
tw.WriteLine("- Start with Windows; " + (Properties.Settings.Default.StartWithWindows ? "[Yes]" : "[No]"));
428+
tw.WriteLine("- Start with Windows; " + (ACCStartsWithWindows() ? "[Yes]" : "[No]"));
430429
tw.WriteLine("- Check for updates; " + (Properties.Settings.Default.CheckForUpdates ? "[Yes]" : "[No]"));
431430
tw.WriteLine("- In beta program; " + (Properties.Settings.Default.BetaProgram ? "[Yes]" : "[No]"));
432431
tw.WriteLine("- Has completed setup guide; " + (Properties.Settings.Default.HasCompletedTutorial ? "[Yes]" : "[No]"));
@@ -605,6 +604,20 @@ public static void SetStartup(bool status) {
605604
}
606605
}
607606

607+
public static bool ACCStartsWithWindows() {
608+
RegistryKey rk = Registry.CurrentUser.OpenSubKey
609+
("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run", true);
610+
611+
var RkValue = rk.GetValue(appName);
612+
if (RkValue == null) {
613+
return false;
614+
} else {
615+
return (bool)RkValue;
616+
}
617+
618+
//return Properties.Settings.Default.StartWithWindows;
619+
}
620+
608621
public static bool HasInternet() {
609622
try {
610623
using (var client = new WebClient())

AssistantComputerControl/Properties/Settings.Designer.cs

Lines changed: 0 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

AssistantComputerControl/Properties/Settings.settings

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,6 @@
2020
<Setting Name="ComputerName" Type="System.String" Scope="User">
2121
<Value Profile="(Default)" />
2222
</Setting>
23-
<Setting Name="StartWithWindows" Type="System.Boolean" Scope="User">
24-
<Value Profile="(Default)">False</Value>
25-
</Setting>
2623
<Setting Name="BetaProgram" Type="System.Boolean" Scope="User">
2724
<Value Profile="(Default)">False</Value>
2825
</Setting>

0 commit comments

Comments
 (0)