View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001117 | Inno Script Studio | Feature | public | 2013-05-30 10:54 | 2018-02-24 14:55 |
Reporter | mindworker | Assigned To | timchilvers | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | Windows | OS | Windows 7 | OS Version | Windows 7 64 Bit |
Product Version | 2.1 | ||||
Target Version | Fixed in Version | 2.2 | |||
Summary | 0001117: Batch file not run properly in Post Compile Section | ||||
Description | Dear NG, I try to run a batch file in order to copy the setup file in the post compile section. Since I updated to version 2 of Script Studio, there is just a console window with red background, flashing up for half a second and nothing happened. No files copied. When I run the batch file manually by double clicking or via CMD-prompt, everything works fine. | ||||
Steps To Reproduce | Create a batch file with an XCOPY command like XCOPY sourcefile.xyz targetpath Try to run this batch file in post compile section | ||||
Additional Information | Here is the entry from the logs: [PostCompile] Processing. [PostCompile] Processing is still being tested. Running: D:\Projects\Test\copy_files.bat Console output log: > > D:\Projects\Test>XCOPY "D:\Projects\Test\Output\setup_test.exe" "K:\Target\setup_files\" /Y Process Exit Code: 0 [PostCompile] Processing finished. | ||||
Tags | No tags attached. | ||||
|
With version 1.0.0.x of Script Studio the batch file was run as required. |
|
test_script.bat (35 bytes) |
|
install_test.iss (1,693 bytes) |
|
Test batch and Inno Setup script uploaded These confirm the issue/ temporary workaround |
|
Issue confirmed in 2.1.0.20 |
|
The issue shows when to option to redirect output to the compile log is selected. When the option is removed the batch file runs correctly and in the test the file iscopied using xcopy fine. |
|
The redirection of the console output required a In Pipe to be created to correctly allow the redirection of the output pipes. This has been added in version 2.2 |
Date Modified | Username | Field | Change |
---|---|---|---|
2013-05-30 10:54 | mindworker | New Issue | |
2013-05-30 10:57 | mindworker | Note Added: 0000760 | |
2013-05-30 11:46 | timchilvers | Assigned To | => timchilvers |
2013-05-30 11:46 | timchilvers | Status | new => acknowledged |
2013-05-30 12:18 | timchilvers | File Added: test_script.bat | |
2013-05-30 12:19 | timchilvers | File Added: install_test.iss | |
2013-05-30 12:19 | timchilvers | Note Added: 0000761 | |
2013-05-30 12:20 | timchilvers | Note Added: 0000762 | |
2013-05-30 12:20 | timchilvers | Status | acknowledged => confirmed |
2013-05-30 12:23 | timchilvers | Note Added: 0000763 | |
2013-06-12 18:35 | timchilvers | Note Added: 0001031 | |
2013-06-12 18:35 | timchilvers | Status | confirmed => resolved |
2013-06-12 18:35 | timchilvers | Fixed in Version | => 2.2 |
2013-06-12 18:35 | timchilvers | Resolution | open => fixed |
2018-02-24 14:55 | timchilvers | Status | resolved => closed |