diff --git a/src/install-sbcl-bin_windows.c b/src/install-sbcl-bin_windows.c index b8d9aaa..158de6f 100644 --- a/src/install-sbcl-bin_windows.c +++ b/src/install-sbcl-bin_windows.c @@ -83,7 +83,7 @@ int sbcl_bin_expand(struct install_options* param) { dist_path=cat(home,"src",SLASH,impl,"-",version,"-",arch,SLASH,NULL); char* msiexec_path=msi_exec_path_from_register(); - if(!file_exist_p(msiexec_path)) + if(msiexec_path==NULL || !file_exist_p(msiexec_path)) { msiexec_path="msiexec.exe"; if(!file_exist_p(msiexec_path))