Skip to content

Commit 5be6687

Browse files
committed
comments on deprecated MSI functions
1 parent 6f7e90b commit 5be6687

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/install.ps1

+2-1
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ function run_installer($fname, $manifest, $architecture, $dir) {
321321
}
322322
}
323323

324-
# deprecated
324+
# deprecated (see also msi_installed)
325325
function install_msi($fname, $dir, $msi) {
326326
$msifile = "$dir\$(coalesce $msi.file "$fname")"
327327
if(!(is_in_dir $dir $msifile)) {
@@ -353,6 +353,7 @@ function extract_msi($path, $to) {
353353
if(!$ok) { abort "failed to extract files from $path" }
354354
}
355355

356+
# deprecated
356357
# get-wmiobject win32_product is slow and checks integrity of each installed program,
357358
# so this uses the [wmi] type accelerator instead
358359
# http://blogs.technet.com/b/heyscriptingguy/archive/2011/12/14/use-powershell-to-find-and-uninstall-software.aspx

0 commit comments

Comments
 (0)