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 2 matches

Go to advanced search

by mmrd
Wed Feb 10, 2016 9:11 pm
Forum: Common Problems
Topic: Accessing Path Variables from BAT script
Replies: 3
Views: 2888
 
Jump to post

Re: Accessing Path Variables from BAT script

Hello David.

Yes. We are launching our BAT file through the Custom File action.

As an example:

When you look at your windows environment variables (System Properties -> Environment Variables) there two sets of variables "User" and "System" (See environment.png attached).

If I run the batch ...
by mmrd
Mon Jan 25, 2016 3:32 pm
Forum: Common Problems
Topic: Accessing Path Variables from BAT script
Replies: 3
Views: 2888
 
Jump to post

Accessing Path Variables from BAT script

Hello.

I'm trying to access the User and System PATH environment variables during installation.

As a rough test, I have AI calling a .BAT with the command SET > paths.txt. If I run this .BAT manually, I see both the system and user environment variables.

If i call the same .BAT from Advanced ...

Go to advanced search