File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/jdk.jpackage/windows/native/libwixhelper Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 11/*
2- * Copyright (c) 2019, 2022 , Oracle and/or its affiliates. All rights reserved.
2+ * Copyright (c) 2019, 2023 , Oracle and/or its affiliates. All rights reserved.
33 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44 *
55 * This code is free software; you can redistribute it and/or modify it
@@ -72,10 +72,10 @@ class ProductInfo {
7272
7373void findInstalledProducts (const Guid& upgradeCode,
7474 std::vector<ProductInfo>& products) {
75- const LPCTSTR upgradeCodeStr = upgradeCode.toMsiString (). c_str ();
75+ const tstring upgradeCodeStr = upgradeCode.toMsiString ();
7676 for (DWORD productCodeIdx = 0 ; true ; ++productCodeIdx) {
7777 TCHAR productCode[39 /* http://msdn.microsoft.com/en-us/library/aa370101(v=vs.85).aspx */ ];
78- const UINT status = MsiEnumRelatedProducts (upgradeCodeStr, 0 ,
78+ const UINT status = MsiEnumRelatedProducts (upgradeCodeStr. c_str () , 0 ,
7979 productCodeIdx, productCode);
8080 if (ERROR_NO_MORE_ITEMS == status) {
8181 break ;
You can’t perform that action at this time.
0 commit comments