Comments (5)
Hello jamborloi . Which bat do you mean?
~best regards.
from batch.scripts.
Hey Thanks for the reply...Actually you got a good tool https://github.com/npocmaka/batch.scripts/blob/master/hybrids/iexpress/bat2exeIEXP.bat
in IEXPRESS wizard in windows I usually used to add to package 2 .exe file. One is install file and the other is post installation command.
I understand your comman for this batch file is bat2exeIEXP.bat myBatFile.bat MyExecutable.exe
how can I do it with it will do the install program first like putty.exe first then the post install command will be a powershell.bat.
from batch.scripts.
As I understand your question - you want to pack in one exe putty and one powershell.bat and then to execute the bat file?
from batch.scripts.
here's an example SED file where you will need to change the paths:
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[Version]
Class=IEXPRESS
SEDVersion=3
[Options]
PackagePurpose=InstallApp
ShowInstallProgramWindow=1
HideExtractAnimation=1
UseLongFileName=1
InsideCompressed=0
CAB_FixedSize=0
CAB_ResvCodeSigning=0
RebootMode=N
InstallPrompt=%InstallPrompt%
DisplayLicense=%DisplayLicense%
FinishMessage=%FinishMessage%
TargetName=%TargetName%
FriendlyName=%FriendlyName%
AppLaunched=%AppLaunched%
PostInstallCmd=%PostInstallCmd%
AdminQuietInstCmd=%AdminQuietInstCmd%
UserQuietInstCmd=%UserQuietInstCmd%
SourceFiles=SourceFiles
[Strings]
InstallPrompt=
DisplayLicense=
FinishMessage=
TargetName=C:\target\exewithputty.exe
FriendlyName=jamborloi
AppLaunched=cmd /c powershell.bat
PostInstallCmd=
AdminQuietInstCmd=
UserQuietInstCmd=
FILE0="putty.exe"
FILE1="powershell.bat"
[SourceFiles]
SourceFiles0=C:\sources
[SourceFiles0]
%FILE0%=
%FILE1%=
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
and then you can create the package with iexpress /n /q /m sedfile.sed
from batch.scripts.
Hi, thank you for this I have tried and attached photo output below,
And came out error creating process. Putty did not came out as well. However that launcher.bat which is powershell command serve its purpose correctly.
from batch.scripts.
Related Issues (20)
- Screen capture with specified window title capture the foreground window HOT 1
- How can I get the response HOT 3
- Post Fields by command line HOT 2
- Click does not work when cmd is not selected
- Trying to get response using winhttpjs.bat but there is something wrong I'm doing HOT 3
- sendKeys.bat does not work if the window is minimized
- Run JsonExtractor Without any other file HOT 9
- Comments for screenCapture.bat ? HOT 2
- How to continue scripting in windows batch?
- .
- ( I'm a beginner ) I need help with a program I want to write HOT 2
- bat2exe.bat
- Why is the __COMPAT_LAYER variable defined? HOT 1
- Fix Suggestion
- "find" function in binaryTree.bat file doesn't work
- how do you replace multiple strings with replacer.bat ?
- Microsoft Defender Alert! HOT 2
- Change the extensions from .bat to .cmd
- exe2bat Reverse HOT 1
- Virus? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from batch.scripts.