We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

Search found 1 match

Go to advanced search

by rob.cvnz
Mon Sep 23, 2013 2:37 am
Forum: Common Problems
Topic: Enivronment Variables in an Inline VB Script
Replies: 1
Views: 1864
 
Jump to post

Enivronment Variables in an Inline VB Script

Hi, I'm trying to execute the following vbs script as an inline function

WScript.CreateObject("WScript.Shell").run "cmd.exe /c echo N | xcopy ""%ProgramData%\My Company\My Product v1\license.lic"" ""%ProgramData%\My Company\My Product v2\"" "

Which works in windows but fails during the install ...

Go to advanced search