diff --git a/.gitignore b/.gitignore
index e11596ca..15f09520 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,8 +2,12 @@
civetweb
libcivetweb.a
libcivetweb.so
+*-cache
out
*.dmg
+*.msi
+*.exe
+Output
#################
## Eclipse
diff --git a/Makefile b/Makefile
index 295a45c7..eec05479 100644
--- a/Makefile
+++ b/Makefile
@@ -182,7 +182,7 @@ clean:
distclean: clean
@rm -rf VS2012/Debug VS2012/*/Debug VS2012/*/*/Debug
@rm -rf VS2012/Release VS2012/*/Release VS2012/*/*/Release
- rm -f $(CPROG) lib$(CPROG).so lib$(CPROG).a *.dmg *.msi
+ rm -f $(CPROG) lib$(CPROG).so lib$(CPROG).a *.dmg *.msi *.exe
lib$(CPROG).a: $(LIB_OBJECTS)
@rm -f $@
diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md
index b1778674..de8cbd39 100644
--- a/RELEASE_NOTES.md
+++ b/RELEASE_NOTES.md
@@ -6,6 +6,7 @@ In planning.
Changes
-------
+- Replaced Windows AdvancedInstaller with Inno Setup to solve install problems.
- Fixed support URL's in civetweb.c (Daniel Oaks)
- Allow port number to be zero to use a random free port (F-Secure Corporation)
- Wait for threads to finish when stopping for a clean shutdown (F-Secure Corporation)
diff --git a/VS2012/civetweb32.aip b/VS2012/civetweb32.aip
deleted file mode 100644
index 4ef2131e..00000000
--- a/VS2012/civetweb32.aip
+++ /dev/null
@@ -1,147 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/VS2012/civetweb64.aip b/VS2012/civetweb64.aip
deleted file mode 100644
index 216b3eb3..00000000
--- a/VS2012/civetweb64.aip
+++ /dev/null
@@ -1,147 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/VS2012/innosetup/civetweb32_setup.iss b/VS2012/innosetup/civetweb32_setup.iss
new file mode 100644
index 00000000..1530961f
--- /dev/null
+++ b/VS2012/innosetup/civetweb32_setup.iss
@@ -0,0 +1,50 @@
+; Script generated by the Inno Setup Script Wizard.
+; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
+
+[Setup]
+; NOTE: The value of AppId uniquely identifies this application.
+; Do not use the same AppId value in installers for other applications.
+; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
+AppId={{49C9C975-D874-463C-BFD4-FD5ACDE796C0}
+AppName=Civetweb
+AppVersion=1.5
+;AppVerName=Civetweb 1.5
+AppPublisher=No Face Press, LLC.
+AppPublisherURL=https://sourceforge.net/projects/civetweb/
+AppSupportURL=https://sourceforge.net/projects/civetweb/
+AppUpdatesURL=https://sourceforge.net/projects/civetweb/
+DefaultDirName={pf}\Civetweb
+DefaultGroupName=Civetweb
+LicenseFile=..\..\LICENSE.md
+OutputDir=..\..
+OutputBaseFilename=civetweb32_setup
+SetupIconFile=..\..\resources\systray.ico
+Compression=lzma
+SolidCompression=yes
+ArchitecturesAllowed=x86 x64
+
+[Languages]
+Name: "english"; MessagesFile: "compiler:Default.isl"
+
+[Tasks]
+Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
+
+[Dirs]
+Name: "{app}"; Permissions: users-modify
+
+[Files]
+Source: "..\..\VS2012\Release\win32\civetweb_lua.exe"; DestDir: "{app}"; DestName: "civetweb.exe" ; Flags: ignoreversion
+Source: "..\..\LICENSE.md"; DestDir: "{app}"; Flags: ignoreversion
+Source: "..\..\README.md"; DestDir: "{app}"; Flags: ignoreversion
+Source: "..\..\resources\systray.ico"; DestDir: "{app}"; Flags: ignoreversion
+Source: "..\..\resources\civetweb_64x64.png"; DestDir: "{app}"; Flags: ignoreversion
+Source: "..\..\resources\itworks.html"; DestDir: "{app}"; DestName: "index.html"; Flags: ignoreversion
+; NOTE: Don't use "Flags: ignoreversion" on any shared system files
+
+[Icons]
+Name: "{group}\Civetweb"; Filename: "{app}\civetweb.exe"; IconFilename: "{app}\systray.ico"
+Name: "{commondesktop}\Civetweb"; Filename: "{app}\civetweb.exe"; Tasks: desktopicon; IconFilename: "{app}\systray.ico"
+
+[Run]
+Filename: "{app}\civetweb.exe"; Description: "{cm:LaunchProgram,Civetweb}"; Flags: nowait postinstall skipifsilent
+
diff --git a/VS2012/innosetup/civetweb64_setup.iss b/VS2012/innosetup/civetweb64_setup.iss
new file mode 100644
index 00000000..7afdbd19
--- /dev/null
+++ b/VS2012/innosetup/civetweb64_setup.iss
@@ -0,0 +1,51 @@
+; Script generated by the Inno Setup Script Wizard.
+; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
+
+[Setup]
+; NOTE: The value of AppId uniquely identifies this application.
+; Do not use the same AppId value in installers for other applications.
+; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
+AppId={{49C9C975-D874-463C-BFD4-FD5ACDE796C0}
+AppName=Civetweb
+AppVersion=1.5
+;AppVerName=Civetweb 1.5
+AppPublisher=No Face Press, LLC.
+AppPublisherURL=https://sourceforge.net/projects/civetweb/
+AppSupportURL=https://sourceforge.net/projects/civetweb/
+AppUpdatesURL=https://sourceforge.net/projects/civetweb/
+DefaultDirName={pf}\Civetweb
+DefaultGroupName=Civetweb
+LicenseFile=..\..\LICENSE.md
+OutputDir=..\..
+OutputBaseFilename=civetweb64_setup
+SetupIconFile=..\..\resources\systray.ico
+Compression=lzma
+SolidCompression=yes
+ArchitecturesInstallIn64BitMode=x64
+ArchitecturesAllowed=x64
+
+[Languages]
+Name: "english"; MessagesFile: "compiler:Default.isl"
+
+[Tasks]
+Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
+
+[Dirs]
+Name: "{app}"; Permissions: users-modify
+
+[Files]
+Source: "..\..\VS2012\Release\x64\civetweb_lua.exe"; DestDir: "{app}"; DestName: "civetweb.exe" ; Flags: ignoreversion
+Source: "..\..\LICENSE.md"; DestDir: "{app}"; Flags: ignoreversion
+Source: "..\..\README.md"; DestDir: "{app}"; Flags: ignoreversion
+Source: "..\..\resources\systray.ico"; DestDir: "{app}"; Flags: ignoreversion
+Source: "..\..\resources\civetweb_64x64.png"; DestDir: "{app}"; Flags: ignoreversion
+Source: "..\..\resources\itworks.html"; DestDir: "{app}"; DestName: "index.html"; Flags: ignoreversion
+; NOTE: Don't use "Flags: ignoreversion" on any shared system files
+
+[Icons]
+Name: "{group}\Civetweb"; Filename: "{app}\civetweb.exe"; IconFilename: "{app}\systray.ico"
+Name: "{commondesktop}\Civetweb"; Filename: "{app}\civetweb.exe"; Tasks: desktopicon; IconFilename: "{app}\systray.ico"
+
+[Run]
+Filename: "{app}\civetweb.exe"; Description: "{cm:LaunchProgram,Civetweb}"; Flags: nowait postinstall skipifsilent
+