From 305219099ae121da9f614cd14e2ccf2b366273bf Mon Sep 17 00:00:00 2001 From: RoseApple Date: Sat, 1 Feb 2020 02:10:33 +0000 Subject: [PATCH] 143 Added path to find Inno installed by a non admin user --- R/compile_iss.R | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/R/compile_iss.R b/R/compile_iss.R index b32e0e3..3e3ce3c 100644 --- a/R/compile_iss.R +++ b/R/compile_iss.R @@ -37,7 +37,8 @@ compile_iss <- function() { find_inno <- function(){ progs <- c(list.dirs("C:/Program Files", TRUE, FALSE), - list.dirs("C:/Program Files (x86)", TRUE, FALSE)) + list.dirs("C:/Program Files (x86)", TRUE, FALSE), + list.dirs(paste(Sys.getenv("LOCALAPPDATA"), "Programs", sep="/"), TRUE, FALSE)) inno <- progs[grep("Inno Setup", progs)]