But your batch file cannot work as written. You cannot use %setup% in the same code block (FOR loop) that sets the value because the entire block is parsed in one pass, and the value is expanded before the parsing takes place. The value gets set properly, but the expanded value will be the value that existed before you entered your loop. The first time you run your batch script, the setup variable is not yet defined, so it fails completely. The value gets set, but your loop cannot see it.
Your script does not have setlocal, so the last value that was set is preserved when the script terminates. The next time you run your script, it will use the value preserved from the last run on each line of your XML file. I believe you can fix this particular problem by substituting call %%setup%% for %setup%. EDITOr better yet, simply eliminate the setup variable entirely and use %%i directly: for /F .
I'm assuming you know what you are doing, but it looks odd to me.
Unattended uninstall of multiple programs - Software. This may take a little leg work but will be worth it in the end. It is easier to uninstall them if you have the original msi file, but you can still uninstall them from the product code. You will have to do some registry diving to get the product code, but it is possible.
If your software is not installed from an msi all is not lost a quick view of.
Ninite Easy PC Setup - Silent Unattended Install Multiple Programs At Once Ninite is the fastest, easiest way to get software. Ninite will automatically download and install multiple apps unattended and 100% hands-free. When you need to install several programs. Install multiple programs automatically with Silent Install Helper. If you need an easier way to manage multiple installations. Ninite is the fastest, easiest way to get software. Ninite will automatically download and install multiple apps unattended and 100% hands-free. The Silent Install Builder allows to quickly install multiple programs with one click. You can create a silent setup package that contains multiple software installers.
Install or update VLC silently and unattended in the background. Fully automated by Ninite. Help; Feedback; Ninite Pro. People trust Ninite to install and update about a million apps each day. Batch File to Install Multiple Updates Silently/Unattended. Multiple BSOD, Multiple Bug Check Strings Hi Guys I have a machine that is still on xp, thats has started to produce many BSODs. I think it's RAM related, or HDD. Silent uninstall of multiple programs User Name: Remember Me? Password: FAQ: Calendar: Search: Today's Posts: Mark Forums Read Thread Tools: Display Modes. I am looking for a Windows program that will allow a complete. Reddit: the front page of the internet.