Update to SQL Test 1.7.4 not working. Why wont it install?

Nick ONick O Posts: 19 Bronze 3
I tried to update SQL Test to 1.7.4, but it keeps telling me it can't be installed at the moment. I have all SSMS and Visual Studio instances closed, but still wont let me install. Is there something blocking it from installing?

e0hzp07p2wkk.png
Tagged:

Best Answer

  • Jessica RJessica R Posts: 1,319 Rose Gold 4
    Update: There was a policy on the machine which was blocking any .exe from launching .msi files. @Nick O was able to disable this temporarily to allow the install to go through.

    Thanks Nick!

    Jessica Ramos | Product Support Engineer | Redgate Software

    Have you visited our Help Center?


Answers

  • Hi @Nick O,

    Sorry to hear that you're experiencing this problem. If you uninstall version 1.7.3 first and then try the 1.7.4 installer again, does it let you install?
    Software Engineer
    Redgate Software
  • Nick ONick O Posts: 19 Bronze 3
    @Rob C,

    No the install still didn't work after uninstall and running the install, but I was able to install it by redownloading the developer bundle.
  • Can I ask if this is SSMS 16, 17 or something else?
  • Nick ONick O Posts: 19 Bronze 3
    @way0utwest, I'm using SSMS 17.2.
  • Nick ONick O Posts: 19 Bronze 3
    Having same issue with SQL Prompt now.
  • Jessica RJessica R Posts: 1,319 Rose Gold 4
    Hi @Nick O ,

    Sorry to hear that!

    Can you please click on the Redgate icon in the top left corner of the installer and choose to view the log file?

    Can you please paste the content here?

    Jessica Ramos | Product Support Engineer | Redgate Software

    Have you visited our Help Center?


  • Nick ONick O Posts: 19 Bronze 3
    2017-10-05 08:48:47,872 [1] WARN App - RedGate.Installer.UI V2.0.1.1939
    2017-10-05 08:48:47,879 [1] INFO App - Date: Thursday, October 5, 2017
    2017-10-05 08:48:47,880 [1] INFO App - Time: 8:48:47 AM
    2017-10-05 08:48:47,880 [1] WARN App - Command line Args = RG_I=Red Gate Software Ltd.
    2017-10-05 08:48:47,934 [1] INFO CommandLineParameters - MSI Parameter: RG_I = 'Red Gate Software Ltd.'
    2017-10-05 08:48:47,937 [1] INFO CommandLineParameters - Extract mode: False
    2017-10-05 08:48:48,017 [File extraction thread] INFO DecompressFile - *** Starting
    2017-10-05 08:48:48,019 [File extraction thread] INFO DecompressFile - Extract file C:\Users\***\AppData\Local\Temp\{0C22F40D-D99B-41A8-A869-CCBC7AB31011}\install.data0.txt from stream
    2017-10-05 08:48:48,027 [File extraction thread] INFO DecompressFile - Complete Extraction of file C:\Users\***\AppData\Local\Temp\{0C22F40D-D99B-41A8-A869-CCBC7AB31011}\install.data0.txt from stream
    2017-10-05 08:48:48,029 [File extraction thread] INFO DecompressFile - *** Waiting 00:00:00.0118759
    2017-10-05 08:48:48,030 [File extraction thread] INFO DecompressFile - Number of Handles 1, 1
    2017-10-05 08:48:48,031 [File extraction thread] INFO DecompressFile - Reset Event Handle 0 is System.Threading.ManualResetEvent
    2017-10-05 08:48:48,033 [File extraction thread] INFO DecompressFile - Event Handle 0 is a handle
    2017-10-05 08:48:48,136 [1] INFO Programs - Found program Redgate 'SQL Doc 3.2'
    2017-10-05 08:48:48,141 [1] INFO Programs - Found program Redgate 'SQL Multi Script 1.3'
    2017-10-05 08:48:48,146 [1] INFO Programs - Found program Redgate 'SQL Source Control 6.0'
    2017-10-05 08:48:48,147 [1] INFO Programs - Found program Redgate 'SSMS Integration Pack Framework 1.1'
    2017-10-05 08:48:48,149 [1] INFO Programs - Found program Redgate 'SQL Prompt 8.2'
    2017-10-05 08:48:48,152 [1] INFO Programs - Found program Redgate 'SQL Dependency Tracker 2.8'
    2017-10-05 08:48:48,156 [1] INFO Programs - Found program Redgate 'SQL Data Generator 3.2'
    2017-10-05 08:48:48,161 [1] INFO Programs - Found program Redgate 'SQL Data Compare 13.0'
    2017-10-05 08:48:48,168 [1] INFO Programs - Found program Redgate 'SQL Search 2.4'
    2017-10-05 08:48:48,172 [1] INFO Programs - Found program Redgate 'SSMS Integration Pack 1.6'
    2017-10-05 08:48:48,178 [1] INFO Programs - Found program Redgate 'SQL Compare 13.0'
    2017-10-05 08:48:48,184 [1] INFO Programs - Found program Redgate 'SQL Data Compare 12.4'
    2017-10-05 08:48:48,191 [1] INFO Programs - Found program Redgate 'SQL Compare 12.4'
    2017-10-05 08:48:48,196 [1] INFO Programs - Found program Redgate 'SQL Doc 3.2'
    2017-10-05 08:48:48,199 [1] INFO Programs - Found program Redgate 'SQL Multi Script 1.3'
    2017-10-05 08:48:48,203 [1] INFO Programs - Found program Redgate 'SQL Source Control 6.0'
    2017-10-05 08:48:48,205 [1] INFO Programs - Found program Redgate 'SSMS Integration Pack Framework 1.1'
    2017-10-05 08:48:48,207 [1] INFO Programs - Found program Redgate 'SQL Prompt 8.2'
    2017-10-05 08:48:48,210 [1] INFO Programs - Found program Redgate 'SQL Dependency Tracker 2.8'
    2017-10-05 08:48:48,212 [1] INFO Programs - Found program Redgate 'SQL Data Generator 3.2'
    2017-10-05 08:48:48,216 [1] INFO Programs - Found program Redgate 'SQL Data Compare 13.0'
    2017-10-05 08:48:48,222 [1] INFO Programs - Found program Redgate 'SQL Search 2.4'
    2017-10-05 08:48:48,224 [1] INFO Programs - Found program Redgate 'SSMS Integration Pack 1.6'
    2017-10-05 08:48:48,227 [1] INFO Programs - Found program Redgate 'SQL Compare 13.0'
    2017-10-05 08:48:48,230 [1] INFO Programs - Found program Redgate 'SQL Data Compare 12.4'
    2017-10-05 08:48:48,233 [1] INFO Programs - Found program Redgate 'SQL Compare 12.4'
    2017-10-05 08:48:48,236 [1] INFO Configuration - Looking for installed product 'SQL Doc 3.2'/0fd4194a-97d8-44a6-bcc8-b92b71e01222 for upgrade code 9f023215-64bd-4f7e-91ee-84366308fe90
    2017-10-05 08:48:48,237 [1] INFO Configuration - Product not installed
    2017-10-05 08:48:48,238 [1] INFO Configuration - Looking for installed product 'SQL Multi Script 1.3'/1ba9f701-a7f0-440a-ad59-2853f7cf1c57 for upgrade code 9f023215-64bd-4f7e-91ee-84366308fe90
    2017-10-05 08:48:48,238 [1] INFO Configuration - Product not installed
    2017-10-05 08:48:48,239 [1] INFO Configuration - Looking for installed product 'SQL Source Control 6.0'/262d61f5-bffd-409b-94c9-7947980ea213 for upgrade code 9f023215-64bd-4f7e-91ee-84366308fe90
    2017-10-05 08:48:48,239 [1] INFO Configuration - Product not installed
    2017-10-05 08:48:48,240 [1] INFO Configuration - Looking for installed product 'SSMS Integration Pack Framework 1.1'/309cdf73-37a2-4e8a-9257-3d0cc6c54b35 for upgrade code 9f023215-64bd-4f7e-91ee-84366308fe90
    2017-10-05 08:48:48,241 [1] INFO Configuration - Product not installed
    2017-10-05 08:48:48,241 [1] INFO Configuration - Looking for installed product 'SQL Prompt 8.2'/32545d6d-1892-4d2a-b3f8-67f43c7a5ca5 for upgrade code 9f023215-64bd-4f7e-91ee-84366308fe90
    2017-10-05 08:48:48,242 [1] INFO Configuration - Product not installed
    2017-10-05 08:48:48,243 [1] INFO Configuration - Looking for installed product 'SQL Dependency Tracker 2.8'/395f8596-6d58-43b2-bf68-ed8811c5c247 for upgrade code 9f023215-64bd-4f7e-91ee-84366308fe90
    2017-10-05 08:48:48,243 [1] INFO Configuration - Product not installed
    2017-10-05 08:48:48,244 [1] INFO Configuration - Looking for installed product 'SQL Data Generator 3.2'/44f4be19-34d4-4273-a398-828aec4a2a20 for upgrade code 9f023215-64bd-4f7e-91ee-84366308fe90
    2017-10-05 08:48:48,244 [1] INFO Configuration - Product not installed
    2017-10-05 08:48:48,245 [1] INFO Configuration - Looking for installed product 'SQL Data Compare 13.0'/6406b29e-3ab0-43b3-8843-3a44a43992d8 for upgrade code 9f023215-64bd-4f7e-91ee-84366308fe90
    2017-10-05 08:48:48,246 [1] INFO Configuration - Product not installed
    2017-10-05 08:48:48,246 [1] INFO Configuration - Looking for installed product 'SQL Search 2.4'/a73de592-3be2-4085-a410-f137a2b0b623 for upgrade code 9f023215-64bd-4f7e-91ee-84366308fe90
    2017-10-05 08:48:48,247 [1] INFO Configuration - Product not installed
    2017-10-05 08:48:48,247 [1] INFO Configuration - Looking for installed product 'SSMS Integration Pack 1.6'/e20fedfb-77bc-4d59-a9cd-5df24aaa9160 for upgrade code 9f023215-64bd-4f7e-91ee-84366308fe90
    2017-10-05 08:48:48,248 [1] INFO Configuration - Product not installed
    2017-10-05 08:48:48,249 [1] INFO Configuration - Looking for installed product 'SQL Compare 13.0'/e68469d7-45fa-4e3e-9787-60aad5d2ba3e for upgrade code 9f023215-64bd-4f7e-91ee-84366308fe90
    2017-10-05 08:48:48,249 [1] INFO Configuration - Product not installed
    2017-10-05 08:48:48,250 [1] INFO Configuration - Looking for installed product 'SQL Data Compare 12.4'/e7189892-4c1c-4554-aa9e-2cb374b7e595 for upgrade code 9f023215-64bd-4f7e-91ee-84366308fe90
    2017-10-05 08:48:48,251 [1] INFO Configuration - Product not installed
    2017-10-05 08:48:48,251 [1] INFO Configuration - Looking for installed product 'SQL Compare 12.4'/fb93ddc0-6fba-47eb-9972-33d2bef508be for upgrade code 9f023215-64bd-4f7e-91ee-84366308fe90
    2017-10-05 08:48:48,252 [1] INFO Configuration - Product not installed
    2017-10-05 08:48:48,252 [1] INFO Configuration - Looking for installed product 'SQL Doc 3.2'/0fd4194a-97d8-44a6-bcc8-b92b71e01222 for upgrade code 9f023215-64bd-4f7e-91ee-84366308fe90
    2017-10-05 08:48:48,253 [1] INFO Configuration - Product not installed
    2017-10-05 08:48:48,254 [1] INFO Configuration - Looking for installed product 'SQL Multi Script 1.3'/1ba9f701-a7f0-440a-ad59-2853f7cf1c57 for upgrade code 9f023215-64bd-4f7e-91ee-84366308fe90
    2017-10-05 08:48:48,254 [1] INFO Configuration - Product not installed
    2017-10-05 08:48:48,255 [1] INFO Configuration - Looking for installed product 'SQL Source Control 6.0'/262d61f5-bffd-409b-94c9-7947980ea213 for upgrade code 9f023215-64bd-4f7e-91ee-84366308fe90
    2017-10-05 08:48:48,255 [1] INFO Configuration - Product not installed
    2017-10-05 08:48:48,256 [1] INFO Configuration - Looking for installed product 'SSMS Integration Pack Framework 1.1'/309cdf73-37a2-4e8a-9257-3d0cc6c54b35 for upgrade code 9f023215-64bd-4f7e-91ee-84366308fe90
    2017-10-05 08:48:48,257 [1] INFO Configuration - Product not installed
    2017-10-05 08:48:48,258 [1] INFO Configuration - Looking for installed product 'SQL Prompt 8.2'/32545d6d-1892-4d2a-b3f8-67f43c7a5ca5 for upgrade code 9f023215-64bd-4f7e-91ee-84366308fe90
    2017-10-05 08:48:48,259 [1] INFO Configuration - Product not installed
    2017-10-05 08:48:48,260 [1] INFO Configuration - Looking for installed product 'SQL Dependency Tracker 2.8'/395f8596-6d58-43b2-bf68-ed8811c5c247 for upgrade code 9f023215-64bd-4f7e-91ee-84366308fe90
    2017-10-05 08:48:48,261 [1] INFO Configuration - Product not installed
    2017-10-05 08:48:48,262 [1] INFO Configuration - Looking for installed product 'SQL Data Generator 3.2'/44f4be19-34d4-4273-a398-828aec4a2a20 for upgrade code 9f023215-64bd-4f7e-91ee-84366308fe90
    2017-10-05 08:48:48,263 [1] INFO Configuration - Product not installed
    2017-10-05 08:48:48,264 [1] INFO Configuration - Looking for installed product 'SQL Data Compare 13.0'/6406b29e-3ab0-43b3-8843-3a44a43992d8 for upgrade code 9f023215-64bd-4f7e-91ee-84366308fe90
    2017-10-05 08:48:48,264 [1] INFO Configuration - Product not installed
    2017-10-05 08:48:48,265 [1] INFO Configuration - Looking for installed product 'SQL Search 2.4'/a73de592-3be2-4085-a410-f137a2b0b623 for upgrade code 9f023215-64bd-4f7e-91ee-84366308fe90
    2017-10-05 08:48:48,266 [1] INFO Configuration - Product not installed
    2017-10-05 08:48:48,266 [1] INFO Configuration - Looking for installed product 'SSMS Integration Pack 1.6'/e20fedfb-77bc-4d59-a9cd-5df24aaa9160 for upgrade code 9f023215-64bd-4f7e-91ee-84366308fe90
    2017-10-05 08:48:48,267 [1] INFO Configuration - Product not installed
    2017-10-05 08:48:48,268 [1] INFO Configuration - Looking for installed product 'SQL Compare 13.0'/e68469d7-45fa-4e3e-9787-60aad5d2ba3e for upgrade code 9f023215-64bd-4f7e-91ee-84366308fe90
    2017-10-05 08:48:48,268 [1] INFO Configuration - Product not installed
    2017-10-05 08:48:48,269 [1] INFO Configuration - Looking for installed product 'SQL Data Compare 12.4'/e7189892-4c1c-4554-aa9e-2cb374b7e595 for upgrade code 9f023215-64bd-4f7e-91ee-84366308fe90
    2017-10-05 08:48:48,269 [1] INFO Configuration - Product not installed
    2017-10-05 08:48:48,270 [1] INFO Configuration - Looking for installed product 'SQL Compare 12.4'/fb93ddc0-6fba-47eb-9972-33d2bef508be for upgrade code 9f023215-64bd-4f7e-91ee-84366308fe90
    2017-10-05 08:48:48,271 [1] INFO Configuration - Product not installed
    2017-10-05 08:48:48,294 [1] INFO Product - Tasks SQL Test 1.7 Checking
    2017-10-05 08:48:48,304 [1] INFO Condition - CMD Registry HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full RegistryExists NOT_AND Eval False
    2017-10-05 08:48:48,305 [1] INFO ISPreRequisite - Need to run '' .NET Framework 4.0 Full is required to use this product. You can download it from: www.microsoft.com/downloads got back 'False'
    2017-10-05 08:48:48,308 [1] INFO MSTItem - Msi Path SQL Test\SQL Test_1.7.4.211_x86.msi for x86
    2017-10-05 08:48:48,327 [1] INFO Product - Could not open INTERNAL_sql test_1.7.4.211_x86.msi and run launch conditions.
    2017-10-05 08:48:48,327 [1] INFO Product - Error message displayed below.
    2017-10-05 08:48:48,328 [1] INFO Product - This installation is forbidden by system policy. Contact your system administrator.
    2017-10-05 08:48:48,354 [1] INFO Engine - extract in Engine: False
    2017-10-05 08:48:48,382 [1] INFO Configuration - No installed program detected when calculating LicensingActivation property
    2017-10-05 08:48:48,390 [1] INFO AvailableInstallsProvider - Licensing ProductParameters
    2017-10-05 08:48:48,391 [1] INFO AvailableInstallsProvider - No existing license found
    2017-10-05 08:48:48,398 [1] INFO Condition - CMD Registry HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full RegistryExists NOT_AND Eval False
    2017-10-05 08:48:48,399 [1] INFO ISPreRequisite - Need to run '' .NET Framework 4.0 Full is required to use this product. You can download it from: www.microsoft.com/downloads got back 'False'
    2017-10-05 08:48:48,402 [Redgate.Usage.AsynchronousUsageApiClient] INFO Redgate.Usage - Sending 2 events:
    [
    {
    "eventType": "session.started",
    "headers": {
    "productId": "redgate-installer",
    "productVersion": "2.0.1.1939",
    "eventUuid": "2b546663-1bd4-49ce-9271-ff86cf1b7aa3",
    "componentId": "WPF Installer",
    "usageUserId": "faad9192-3e97-477c-b98a-4514f81acc97",
    "sessionUuid": "3f015a73-65c1-4069-8a16-8f460de497b1",
    "createdTimeUtc": "2017-10-05T12:48:47Z"
    },
    "payload": {
    "hostMachine": {
    "software": {
    "operatingSystem": {
    "name": "Microsoft Windows 10 Enterprise",
    "is64Bit": true,
    "platform": "Win32NT",
    "servicePack": "",
    "compatibilityVersion": "6.2.9200.0",
    "kernelVersion": "10.0.15063.608"
    },
    "dotNet": {
    "current": {
    "clrVersion": "4.0.30319.42000",
    "csharpVersion": "4.7.2110.0",
    "is64Bit": false
    },
    "frameworks": {
    "2.0": {
    "isInstalled": true,
    "version": "2.0.50727.4927",
    "servicePack": 2,
    "release": null
    },
    "3.0": {
    "isInstalled": true,
    "version": "3.0.30729.4926",
    "servicePack": 2,
    "release": null
    },
    "3.5": {
    "isInstalled": true,
    "version": "3.5.30729.4926",
    "servicePack": 1,
    "release": null
    },
    "4.0": {
    "isInstalled": true,
    "version": "4.7.02046",
    "servicePack": null,
    "release": 460798
    }
    },
    "powerShell": {
    "version": "5.1.15063.0"
    }
    },
    "localization": {
    "currentCulture": {
    "name": "en-US",
    "lcid": 1033
    },
    "currentUiCulture": {
    "name": "en-US",
    "lcid": 1033
    },
    "installedUiCulture": {
    "name": "en-US",
    "lcid": 1033
    },
    "localTimeZone": {
    "id": "Eastern Standard Time",
    "utcOffset": "-04:00"
    }
    },
    "processInformation": {
    "filename": "RedGate.Installer.UI.App.exe",
    "fileVersion": "2.0.1.1939",
    "productVersion": "2.0.1.1939"
    }
    },
    "hardware": {
    "processors": [
    {
    "numberOfLogicalProcessors": 8,
    "maxClockSpeedInMHz": 2808
    }
    ],
    "memory": {
    "totalPhysicalMemoryInBytes": 34233241600,
    "errorCorrection": "Single-bit ECC"
    },
    "display": {
    "basicDpi": {
    "x": 96,
    "y": 96
    },
    "screens": [
    {
    "isPrimary": false,
    "bounds": {
    "width": 1920,
    "height": 1080
    }
    },
    {
    "isPrimary": true,
    "bounds": {
    "width": 1920,
    "height": 1080
    }
    }
    ]
    },
    "virtualizationInfo": {
    "computerManufacturer": "HP",
    "computerModel": "HP ZBook 15 G3",
    "biosVersion": "HPQOEM - 0",
    "biosBIOSVersion": [
    "HPQOEM - 0",
    "N81 Ver. 01.14",
    "HP - 1000E"
    ],
    "biosSerialNumber": "CND71229R0"
    }
    }
    }
    }
    },
    {
    "eventType": "program-start",
    "headers": {
    "productId": "redgate-installer",
    "productVersion": "2.0.1.1939",
    "eventUuid": "5d2b5da5-0105-47b9-8577-952bbdbc5c7c",
    "componentId": "WPF Installer",
    "usageUserId": "faad9192-3e97-477c-b98a-4514f81acc97",
    "sessionUuid": "3f015a73-65c1-4069-8a16-8f460de497b1",
    "createdTimeUtc": "2017-10-05T12:48:47Z"
    },
    "payload": null
    }
    ]
    2017-10-05 08:48:48,603 [File extraction thread] INFO DecompressFile - *** Finished Waiting 00:00:00.5852927
    2017-10-05 08:48:48,604 [File extraction thread] INFO DecompressFile - *** Finished 00:00:00.5862503
    2017-10-05 08:48:48,605 [File extraction thread] INFO DecompressFile - *** Decompression 'SQL Test' 00:00:00.5977499
    2017-10-05 08:48:49,536 [Redgate.Usage.AsynchronousUsageApiClient] INFO Redgate.Usage - Usage reporting request made to https://productusage.red-gate.com/v1/usageevents
    Number of submitted usage events = 2
    HTTP status code = 204 NoContent
    Response body =
    2017-10-05 08:48:49,718 [File extraction thread] INFO DecompressFile - Extraction of Data for 'SQL Test' took 1.1104124 seconds
  • Jessica RJessica R Posts: 1,319 Rose Gold 4
    Thanks @Nick O!

    That's really odd- the error is "This installation is forbidden by system policy. Contact your system administrator."

    Does it make any difference if you launch SSMS as administrator?

    If you manually download and run the installer from here, does it have the same problem? (or the one for SQL Prompt here)?

    Jessica Ramos | Product Support Engineer | Redgate Software

    Have you visited our Help Center?


  • Nick ONick O Posts: 19 Bronze 3
    Looks like the issue is the files the update downloads go to the temp folder under my user account. Our IT department has a policy that executable cannot run from either that temp folder or the download folder. Is there any way to download these files to a different directory or give us the option to download them to a different directory?
  • Jessica RJessica R Posts: 1,319 Rose Gold 4
    Thanks for checking that @Nick O!

    You can change the location where update installers are stored to by creating an RGTEMP environment variable:

    1. On the Start menu, right-click Computer and select Properties.
    2. In the Advanced tab, click Environment Variables.
    3. Click New.
    4. In the Variable name field, type: RGTEMP
    5. In the Variable value field, type the new location, i.e: F:\RGtemp
    6. Click OK.
    7. Close Management Studio and standalone Red Gate tools.
    8. Log out of Windows and log in again.

    (Note: all Redgate tools will store temporary files in this location)

    Hope that helps but please let us know if not!

    Jessica Ramos | Product Support Engineer | Redgate Software

    Have you visited our Help Center?


  • Nick ONick O Posts: 19 Bronze 3
    @Jessica R, I still get the error. I set the RGTEMP under my user variables. Is there a newer install I should try? I do see files in that temp folder for SQL Source Control and SQL Search, but nothing else.
  • Jessica RJessica R Posts: 1,319 Rose Gold 4
    Hi @Nick O!

    Sorry to hear that!

    The tools should save the update installers to a "CFU" folder in the RGTemp location.

    It would be helpful to get a Process Monitor trace to see where the update installers are saving to. I'll send you over some instructions to get this and an upload link shortly.

    Jessica Ramos | Product Support Engineer | Redgate Software

    Have you visited our Help Center?


Sign In or Register to comment.