aboutsummaryrefslogtreecommitdiff
path: root/examples/scripts/Environment Variables/Project1.exe.vmp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/scripts/Environment Variables/Project1.exe.vmp')
-rw-r--r--examples/scripts/Environment Variables/Project1.exe.vmp20
1 files changed, 20 insertions, 0 deletions
diff --git a/examples/scripts/Environment Variables/Project1.exe.vmp b/examples/scripts/Environment Variables/Project1.exe.vmp
new file mode 100644
index 0000000..03de3d0
--- /dev/null
+++ b/examples/scripts/Environment Variables/Project1.exe.vmp
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<Document Version="2">
+ <Protection InputFileName="Project1.exe" Options="819200" RunParameters="" OutputFileName="%MYVAR%.exe">
+ <Folders />
+ <Procedures>
+ <Procedure MapAddress='VMProtectMarker &quot;Test marker&quot;' Options="1" />
+ <Procedure MapAddress='string &quot;Correct password&quot;' Options="1" />
+ <Procedure MapAddress='string &quot;Incorrect password&quot;' Options="1" />
+ </Procedures>
+ <Messages />
+ <Objects />
+ </Protection>
+ <DLLBox>
+ <Folders />
+ </DLLBox>
+ <Script>
+ <![CDATA[vmprotect.setEnvironmentVariable("MYVAR", "output")]]>
+</Script>
+ <LicenseManager />
+</Document>