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

Go to advanced search

by Nermendis
Mon Apr 01, 2024 9:08 pm
Forum: Common Problems
Topic: Installation route
Replies: 4
Views: 9104
 
Jump to post

Re: Installation route

I also found an earlier article that you cannot return a value with a batch file. On your recommendation, I wrote an inline PowerShell script to give a value to my own property, and it works perfectly! Thanks for your help!
by Nermendis
Mon Apr 01, 2024 2:53 pm
Forum: Common Problems
Topic: Installation route
Replies: 4
Views: 9104
 
Jump to post

Re: Installation route

The bat file first looks for a mod folder for the program (this may contain translations), if it doesn't find it, it looks for the folder where the program is installed.

Rem @for /f %%i in ('WHERE /R C:\ strings.po') do @set foC=%%i
@for /f %%i in ('WHERE /R D:\ strings.po') do @set foD=%%i
REG ...
by Nermendis
Mon Apr 01, 2024 1:06 pm
Forum: Common Problems
Topic: Installation route
Replies: 4
Views: 9104
 
Jump to post

Installation route

Hello

I would like to ask for help. I've done a lot of searching on the subject, but I can't find it.
I want to run a bat file that will find the installation path, save it to a registry key. I then set APPDIR to this value from the key.
However, it seems that the scanning of the "registry key ...

Go to advanced search