7-zip Silent Install Script
July 17, 2015
7-Zip, HFM, HFM 11.1.2.2, Hyperion Planning, Hyperion Planning 11.1.2.2, ODI, ODI 11.1.1.7, Oracle Hyperion EPM 11.1.1.3, Oracle Hyperion EPM 11.1.2.1, Oracle Hyperion EPM 11.1.2.2, Oracle Hyperion EPM 11.1.2.3, Oracle Hyperion EPM 11.1.2.4, Planning, Remote Administration, RnA-Reporting and Analysis, Samba, Windows 2008R2 Server, Windows 7, Windows Server 2008 R2, Windows Server 2012 R2, Windows Vista, Windows XP
0 Comments
I’m just sharing a little script I use to install 7zip in silent mode.
pushd "\\epmfileserver.mydomain.com\share\utilities" 7z920-x64.msi /q INSTALLDIR="C:\Program Files\7-Zip" popd
I’m not sure if any of you have ever used pushd and popd, but they are pretty handy. The pushd will map the network share to a drive letter and automatically change to that letter. when finished running the command locally, popd will bring the session back to the original path, before the pushd was executed. I use these commands regularly, especially with my LCM import and export scripts.
I hope someone else finds this useful.
Thanks!
[ad#ad-post]