script to install exe and msi installer in a folder [closed] - powershell

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 5 days ago.
Improve this question
I have a folder on my PC with several msi and exe installers.
each on a separate line
I need to read each line and run the installer
preferably in powershell
How can I do that ?

Related

Executing a perl program with the perl in server [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I need to execute a program in my system using the perl.exe from a network path.what change should I have to change in the interpreter line to execute that..?
There's a fair chance (given that the question gives us no clues to help us answer it) that the perl.exe is just a wrapper for perl.dll, so if the perl.exe isn't on the path (and it won't be if its on a network share) then the exe will fail to run.
The answer is almost certainly to copy the required files locally and run them there. I recommend Strawberry Perl for Windows, as its just a directory copy to get it installed.
Invoking using a remote exe may not work due to the exe's own dependencies. Consider packaging your perl script as an exe using http://search.cpan.org/dist/PAR-Packer/

How to use downloaded Net::SSH2 module in Perl? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 8 years ago.
Improve this question
I have downloaded Net-SSH2-0.43 to be able to use Net::SSH2 Perl module. But I don't know what I need to do after that, just include paths or something else. Please help.
you could use perlbrew to install Perl in your home or in any directories wo. root rights: http://perlbrew.pl/
wget -O - http://install.perlbrew.pl | bash
perlbrew install perl-5.16.0
perlbrew switch perl-5.16.0
you could call your perl from shell (scripts) like this: http://perlbrew.pl/Perlbrew-In-Shell-Scripts.html
If your servers are identical enough then you could rsync/rdist this directory to every host and you are done.

Generate a floppy image on Windows [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
So, I have compiled an ASM boot program like this :
nasm -f bin -o bootsect bootsect.asm
And now I need to run the next UNIX command to generate a floppy image from the output, but i'm using MS Windows...
cat bootsect /dev/zero | dd of=floppyA bs=512 count=2880
Does someone know how can I do the equivalent in the Windows' cmd ?
There is a port of Unix dd to the Win32 environment. Or you could use rawwrite. Both are available for download at http://www.chrysocome.net.

Locate xcodeproj in terminal [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
How can i locate my project in terminal which i created in xcode?
How can i add or install Submodules of Sharekit to my project?
I am trying to locate my project created in Xcode.
When i type in locate abc.xcodeproj
it gives this warning
WARNING: The locate database (/var/db/locate.database) does not exist.
To create the database, run the following command:
sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.locate.plist
Please be aware that the database can take some time to generate; once
the database has been created, this message will no longer appear.
Thanks for help.
locate is somewhat obsolete. Use Spotlight instead:
$ mdfind abc.xcodeproj

Centos /usr readonly [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I have some rpm to install on my centos 4.8, but when I try to install the rpm as root (rpm -i), the output said /usr and all subdirectory are read-only.
I tried to create a file : touch /usr/testFile as root and the /usr is read-only.
What should I do to install my package?
Edit: mount -l
/dev/sda6 on /usr type ext3 (ro,nodev) [/usr]
Thanks you.
here's the solution:
edit /etc/fstab
find line contains /usr
change ro to rw
restart computer