mp032 Posted November 20, 2009 Posted November 20, 2009 Hello I wanna run a setup.exe with a silent install that looks for unattended settings in friinst.txt Im doing this: $adminpasswd = "xxxxxxxxxxx" ;Install Friupgrade $installfriupgrade = "\\KA25\pandainstaller\Fri4Upgrade\setup.exe /s friinst.txt" RunAs ("Administratör", @ComputerName, $adminpasswd, 0, $installfriupgrade) The setup starts and copies files then screen flickers and setup exits (cannot locate the friinst.txt) Hace also tried: $adminpasswd = "xxxxxxxxxxx" ;Install Friupgrade $installfriupgrade = "\\KA25\pandainstaller\Fri4Upgrade\setup.exe /s \\KA25\pandainstaller\Fri4Upgrade\friinst.txt" RunAs ("Administratör", @ComputerName, $adminpasswd, 0, $installfriupgrade) Same result....please help
jvanegmond Posted November 20, 2009 Posted November 20, 2009 Try copying the setup.exe file and friinst.txt to the local drive first, and then run them from there. Also, change your admin password. This one is too easy to guess. github.com/jvanegmond
mp032 Posted November 24, 2009 Author Posted November 24, 2009 same result if I copy to local drive Anyone, any ideas???
StickyChopstix Posted November 24, 2009 Posted November 24, 2009 Not sure if this will help at all but for things like this I like to use the INIWRITE/INIREAD function in autoit. Also about the admin password thing. If you don't want people finding out your admin password by looking at your script you could encrypt it with _StringEncrypt
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now