Skip to content

Commit 652d53a

Browse files
committed
More debug output
1 parent 650b902 commit 652d53a

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

constructor/briefcase/run_installation.bat

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,10 +120,21 @@ if errorlevel 1 ( exit /b %errorlevel% )
120120

121121
rem Create .nonadmin marker file for user-scoped installs inside BASE_PATH.
122122
rem This is used by the uninstaller (and menuinst) to determine the install mode.
123+
echo DEBUG: ALLUSERS=%ALLUSERS%
124+
>> "%LOG%" echo DEBUG: ALLUSERS=%ALLUSERS%
123125
if "%ALLUSERS%"=="0" (
126+
echo DEBUG: Creating .nonadmin marker file
127+
>> "%LOG%" echo DEBUG: Creating .nonadmin marker file
124128
echo. > "%BASE_PATH%\.nonadmin"
125129
if errorlevel 1 ( exit /b %errorlevel% )
126130
)
131+
if exist "%BASE_PATH%\.nonadmin" (
132+
echo DEBUG: .nonadmin file EXISTS at %BASE_PATH%\.nonadmin
133+
>> "%LOG%" echo DEBUG: .nonadmin file EXISTS at %BASE_PATH%\.nonadmin
134+
) else (
135+
echo DEBUG: .nonadmin file DOES NOT EXIST
136+
>> "%LOG%" echo DEBUG: .nonadmin file DOES NOT EXIST
137+
)
127138

128139
rem Install packages for each environment
129140
{%- for env in setup_envs %}

0 commit comments

Comments
 (0)