diff --git a/tools/windows_packaging/TracksLiveSetup/TracksLiveSetup/TracksLiveSetup.isl b/tools/windows_packaging/TracksLiveSetup/TracksLiveSetup/TracksLiveSetup.isl
index fd3e39527f..c97f6fb652 100644
--- a/tools/windows_packaging/TracksLiveSetup/TracksLiveSetup/TracksLiveSetup.isl
+++ b/tools/windows_packaging/TracksLiveSetup/TracksLiveSetup/TracksLiveSetup.isl
@@ -271,6 +271,7 @@
| NewBinary24 | | C:\WS\GIT\tracks_daw\tracks\tools\windows_packaging\TracksLiveSetup\icons\Installer Banner.bmp |
| NewBinary25 | | C:\WS\GIT\tracks_daw\tracks\tools\windows_packaging\TracksLiveSetup\icons\Installer Banner.bmp |
| NewBinary26 | | C:\WS\GIT\tracks_daw\tracks\tools\windows_packaging\TracksLiveSetup\icons\Installer Splash.bmp |
+ | NewBinary27 | | C:\WS\GIT\tracks_daw\tracks\tools\windows_packaging\TracksLiveSetup\scripts\preferences_cleanup.vbs |
| NewBinary3 | | <ISProductFolder>\Redist\Language Independent\OS Independent\Up.ibd |
| NewBinary4 | | <ISProductFolder>\Redist\Language Independent\OS Independent\WarningIcon.ibd |
| NewBinary5 | | C:\WS\GIT\tracks_daw\tracks\tools\windows_packaging\TracksLiveSetup\icons\Installer Splash.bmp |
@@ -2030,6 +2031,7 @@
| SetARPINSTALLLOCATION | 51 | ARPINSTALLLOCATION | [INSTALLDIR] | | |
| SetAllUsersProfileNT | 51 | ALLUSERSPROFILE | [%SystemRoot]\Profiles\All Users | | |
| ShowMsiLog | 226 | SystemFolder | [SystemFolder]notepad.exe "[MsiLogFileLocation]" | | Shows Property-driven MSI Log |
+ | remove_preferences | 1094 | NewBinary27 | | | |
| setAllUsersProfile2K | 51 | ALLUSERSPROFILE | [%ALLUSERSPROFILE] | | |
| setUserProfileNT | 51 | USERPROFILE | [%USERPROFILE] | | |
@@ -6367,7 +6369,7 @@
Encoded
Comment
TimeStamp
- | COMPANY_NAME | 1033 | Waves Audio | 0 | | 2023958064 |
+ | COMPANY_NAME | 1033 | Waves Audio | 0 | | -2136801231 |
| DN_AlwaysInstall | 1033 | Always Install | 0 | | 1621317870 |
| IDPROP_EXPRESS_LAUNCH_CONDITION_COLOR | 1033 | The color settings of your system are not adequate for running [ProductName]. | 0 | | 1621317870 |
| IDPROP_EXPRESS_LAUNCH_CONDITION_OS | 1033 | The operating system is not adequate for running [ProductName]. | 0 | | 1621317870 |
@@ -7490,11 +7492,11 @@
| ID_STRING14 | 1033 | Tracks Live | 0 | | 1889785454 |
| ID_STRING15 | 1033 | Tracks Live | 0 | | 2023999979 |
| ID_STRING16 | 1033 | Tracks Live | 0 | | 2023970352 |
- | ID_STRING2 | 1033 | http://www.WavesAudio.com | 0 | | 2023958064 |
- | ID_STRING3 | 1033 | Waves Audio | 0 | | 2023958064 |
+ | ID_STRING2 | 1033 | http://www.waves.com/support | 0 | | -2136765775 |
+ | ID_STRING3 | 1033 | Waves Audio | 0 | | -2136801231 |
| ID_STRING4 | 1033 | TracksLive | 0 | | 1621309294 |
| ID_STRING5 | 1033 | LAUNCH~1.EXE|Launch gdb.exe | 0 | | 1621352975 |
- | ID_STRING6 | 1033 | http://www.WavesAudio.com/support | 0 | | 2023958064 |
+ | ID_STRING6 | 1033 | http://www.waves.com/support/support | 0 | | -2136765775 |
| ID_STRING7 | 1033 | US: +1-865-909-9200, Worldwide: +972-3-608-4000 | 0 | | 1621317071 |
| ID_STRING8 | 1033 | Tracks Live | 0 | | 1621302927 |
| ID_STRING9 | 1033 | Tracks Live | 0 | | 1621351824 |
@@ -7736,6 +7738,7 @@
| WriteEnvironmentStrings | | 5200 | WriteEnvironmentStrings | |
| WriteIniValues | | 5100 | WriteIniValues | |
| WriteRegistryValues | | 5000 | WriteRegistryValues | |
+ | remove_preferences | REMOVE="ALL" | 6405 | | |
| setAllUsersProfile2K | VersionNT >= 500 | 980 | | |
| setUserProfileNT | VersionNT | 960 | | |
diff --git a/tools/windows_packaging/TracksLiveSetup/scripts/preferences_cleanup.vbs b/tools/windows_packaging/TracksLiveSetup/scripts/preferences_cleanup.vbs
new file mode 100644
index 0000000000..61cf30a7de
--- /dev/null
+++ b/tools/windows_packaging/TracksLiveSetup/scripts/preferences_cleanup.vbs
@@ -0,0 +1,20 @@
+' deletes Tracks Live Preferences
+' except recent and config
+Sub DeleteFile(filespec)
+ Dim fso
+ Set fso = CreateObject("Scripting.FileSystemObject")
+ If (fso.FileExists(filespec)) Then
+ fso.DeleteFile(filespec)
+ End If
+End Sub
+
+Dim objNetwork
+Set objNetwork = CreateObject("WScript.Network")
+strUserName = objNetwork.UserName
+path_to_preferences="c:\Users\"+strUserName+"\AppData\Local\Tracks Live\.config\"
+
+Call DeleteFile (path_to_preferences+"instant.xml")
+Call DeleteFile (path_to_preferences+"sfdb")
+Call DeleteFile (path_to_preferences+"ui_config")
+
+