Try and run the installer at User privileges (#1039)

This commit is contained in:
Neil Mitchell 2019-05-09 14:10:43 +01:00 committed by A. F. Mota
parent 268bb437ef
commit 39ee16a6bd

View File

@ -20,6 +20,7 @@ installer :: FilePath -> Action SectionId
installer sdkDir = do
name "DAML SDK installer"
outFile "daml-sdk-installer.exe"
requestExecutionLevel User
section "" [] $ do
-- We use PLUGINSDIR as an easy way to get a temporary directory
-- that nsis will cleanup automatically.