Notifications
Clear all

We appreciate the contributions many of you have been able to make towards repairing the storm damage and keeping a roof over our heads. With your help we’ve been able to complete much of the critical work. There is still work to be done to secure the house and your continued support will be a huge help.

Guests have read-only access to our forums. If you wish to participate you will need to register. Be sure to activate your account from the email sent to you when you register.

[Closed] Extract path

4 Posts
2 Users
0 Reactions
1,543 Views
(@npkce)
New Member Registered
Joined: 5 years ago
Posts: 2
Topic starter  

We have policies in place that block unknown exes from running in appdata. Is it possible to specify a different directory using remote.bat and install.txt?

###
rem simple batch file to run the install over a network
rem change the network path to your server
@echo off
net use u: \serverSDI
u:
cd
SDIO_x64_R732.exe -script:scriptsinstall.txt
c:
net use u: /delete
###

#
# Snappy Driver Installer Origin
#
# Title: Simple Install
# Author: Glenn Delahoy
# Description: Simple script to install missing and better drivers.
# Notes: Test mode by default. Set 'enableinstall on' to make it live.
#

echo ==============================
echo Snappy Driver Installer Origin
echo Simple Install
echo ==============================
echo

echo Initialising...
verbose 384
logging on
enableinstall on
init
echo Installing missing and better drivers...
select missing better
install
end

###

Thanks for your work on a great piece of software!


   
Glenn
(@glenn)
Member Admin
Joined: 8 years ago
Posts: 1865
 

Remind me again what it uses appdata for?


   
(@npkce)
New Member Registered
Joined: 5 years ago
Posts: 2
Topic starter  

That's the path that it extracts the drivers to locally

echo Installing missing and better drivers...
Select: filter:34, drpfilter:0
3 drivers selected
extractdir='C:UsersusernameAppDataLocalTempSDIO'
Installing $2091
Pack: driversDP_MassStorage_21063.7z
Name: Intel(R) Optane(TM) Pinning Shell Extensions
Provider: Intel Corporation
Date: 03/12/2021
Version: 18.3.0.1003
HWID: SWCVID8086&SW_RSTSHELLEXTENSIONS
inf: IntelFORCED10x6418.33.0.1003iaStorPinningComponent.inf,intel.ntamd64.10.0...15063
Score: 00FF0000

###


   
Glenn
(@glenn)
Member Admin
Joined: 8 years ago
Posts: 1865
 

That's a weird policy not allowing apps to use appdata.

You can add the following switch to the command line as per the manual:

-extractdir:<dir>


   
Glenn's Page