Commit graph

34 commits

Author SHA1 Message Date
kichik
230a418822 proper clean-up in case of bad input
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4371 212acab6-be3b-0410-9dea-997c60f758d6
2005-11-05 13:50:24 +00:00
kichik
373eac3da8 fixed bad input test
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4370 212acab6-be3b-0410-9dea-997c60f758d6
2005-11-05 13:41:46 +00:00
kichik
60026493e7 search for /TIMEOUT= only at the beginning of the input string
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4369 212acab6-be3b-0410-9dea-997c60f758d6
2005-11-05 13:39:57 +00:00
kichik
90919b0ea6 applied patch #1346737 - OEM nsExec
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4368 212acab6-be3b-0410-9dea-997c60f758d6
2005-11-05 13:22:37 +00:00
kichik
ccf2bb96a5 applied patch #1164307 - Fixes to allow building Contrib/ on debian (minus Makefiles)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3923 212acab6-be3b-0410-9dea-997c60f758d6
2005-03-17 21:26:59 +00:00
kichik
d2ba6bd725 fixed problems with quotes and spaces
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3566 212acab6-be3b-0410-9dea-997c60f758d6
2004-06-18 17:59:36 +00:00
kichik
2b3da85bae always create a valid standard input handle
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3512 212acab6-be3b-0410-9dea-997c60f758d6
2004-03-12 10:28:49 +00:00
kichik
ebd0852b60 fixed mishandling of MBCS chars
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3441 212acab6-be3b-0410-9dea-997c60f758d6
2004-01-31 19:54:45 +00:00
kichik
f915329242 Call the same DllMain for debug and release builds
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3133 212acab6-be3b-0410-9dea-997c60f758d6
2003-11-12 20:24:53 +00:00
kichik
fabf2f79ea Empty lines were not printed (this time it's really fixed)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2794 212acab6-be3b-0410-9dea-997c60f758d6
2003-08-08 13:56:41 +00:00
kichik
bf197d80e5 - Empty lines were not printed
- CR or LF alone were not handled
- Tab conversion removed the next char


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2793 212acab6-be3b-0410-9dea-997c60f758d6
2003-08-08 13:39:39 +00:00
kichik
73708b6fd3 It seems Windows 98 doesn't check ranges...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2783 212acab6-be3b-0410-9dea-997c60f758d6
2003-08-03 23:32:56 +00:00
ramon18
d6c88c52c8 removed IMAGE_FILE_RELOCS_STRIPPED
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2767 212acab6-be3b-0410-9dea-997c60f758d6
2003-07-24 00:34:59 +00:00
ramon18
d692d11772 temp console app now returns correct exitcode from spawned process, temp file is deleted on end
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2766 212acab6-be3b-0410-9dea-997c60f758d6
2003-07-23 18:19:13 +00:00
ramon18
f7f575a8cb nsExec create a temp console app to spawn commands, can run applications with user interface and also 16bit DOS
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2765 212acab6-be3b-0410-9dea-997c60f758d6
2003-07-23 09:38:05 +00:00
ramon18
21f668de9c Fixed problem in IO dirreq/filereq, optimized code, nsExec with /CMD param to allow execute 16Bits DOS applications
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2762 212acab6-be3b-0410-9dea-997c60f758d6
2003-07-21 19:48:48 +00:00
kichik
4f74130753 clean up
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2757 212acab6-be3b-0410-9dea-997c60f758d6
2003-07-19 13:24:59 +00:00
rainwater
579590a395 nsExec didn't free allocated memory
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2022 212acab6-be3b-0410-9dea-997c60f758d6
2003-01-02 17:14:01 +00:00
kichik
ef97e938f5 Calling nsExec from an installer that was executing using CreateProcess from another process now doesn't give an error about an invalid handle
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2002 212acab6-be3b-0410-9dea-997c60f758d6
2002-12-26 16:21:07 +00:00
kichik
3797b9776d Added ExecToStack
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1814 212acab6-be3b-0410-9dea-997c60f758d6
2002-11-22 11:02:22 +00:00
kichik
dfbd9e93c0 Timeout now works
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1302 212acab6-be3b-0410-9dea-997c60f758d6
2002-10-04 18:11:13 +00:00
kichik
5c5ce97e25 Now doesn't crash when using Exec and not ExecToLog. ExecToLog timeout is not yet implemented.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1271 212acab6-be3b-0410-9dea-997c60f758d6
2002-10-02 16:00:18 +00:00
rainwater
c9b3214463 Changed default timeout to 15 seconds (from 100 seconds). Returns now if CreateProcess fails. Now closes handles if unable to allocate memory.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1258 212acab6-be3b-0410-9dea-997c60f758d6
2002-10-01 22:09:53 +00:00
kichik
8d30b904a7 Logging should work well now
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1256 212acab6-be3b-0410-9dea-997c60f758d6
2002-10-01 18:59:45 +00:00
rainwater
7075c16cb1 Added return value to nsExex. Logging still broke.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1250 212acab6-be3b-0410-9dea-997c60f758d6
2002-10-01 16:37:08 +00:00
justin1014
dfb549d324 updated to new exdll interface. note that /TIMEOUT must come before command now.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1122 212acab6-be3b-0410-9dea-997c60f758d6
2002-09-21 18:49:49 +00:00
rainwater
caa554dff9 Check for newline
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@932 212acab6-be3b-0410-9dea-997c60f758d6
2002-09-05 19:39:48 +00:00
rainwater
e002bbbecc Stream contents of output (avoid pipe being full)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@931 212acab6-be3b-0410-9dea-997c60f758d6
2002-09-05 18:35:04 +00:00
rainwater
055bf1d65b Some broken code, but fixes pipe issue
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@930 212acab6-be3b-0410-9dea-997c60f758d6
2002-09-05 18:00:44 +00:00
kichik
5275f4c2ca Fixed a bug with my_strstr
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@926 212acab6-be3b-0410-9dea-997c60f758d6
2002-09-05 16:14:30 +00:00
kichik
2b2ac0a9af Memory now unlocks and can now be freed
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@924 212acab6-be3b-0410-9dea-997c60f758d6
2002-09-05 12:23:26 +00:00
rainwater
0dcf9ff3c4 added terminate process
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@922 212acab6-be3b-0410-9dea-997c60f758d6
2002-09-04 20:47:03 +00:00
rainwater
74875edfc5 Added ExecToLog
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@921 212acab6-be3b-0410-9dea-997c60f758d6
2002-09-04 20:40:41 +00:00
rainwater
a659c508b1 New exec plugin (broke)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@920 212acab6-be3b-0410-9dea-997c60f758d6
2002-09-04 19:46:49 +00:00