java - Inno Setup compile directory -


This is the first time I have used the nano setup I am including Ino Setup in an ANT script:

  & lt; Target name = "gener-installer-exe" dependent = "Generate-X" & gt; & Lt; Exec Executable = "C: / Program Files (x86) / Inno Setup 5 / ISCC.exe" & gt; & Lt; Arg value = "$ {etcdir} /innoSetup_config.iss" /> & Lt; Arg value = "/ dMySourcePath = $ {deployment.dir}" /> & Lt; / Executive & gt; & Lt; / Target & gt;   

This creates output and setup.exe in $ {etcdir} , because there is my .iss file in that location, but I want to compile it Go to $ {deployment.dir} Is there any way to change the compile directory by passing a logic or do I need to move files through the ANT? According to the docs, / O parameters you can do what you need. To specify an output filename "/ O" (to override an Output Dior setting in the script), "/ F" (script does not override the filename setting without any output

Therefore, if you want to pass only / o for the output directory, then you will probably need something:

  Lt; Target name = "gener-installer -exe" dependent = "generated-exe" & gt; & Lt; Exec Executable = "C: / Program Files (x86) / Inno Setup 5 / ISCC.exe" & gt; & Lt; Arg value = "$ {etcdir} /innoSetup_config.iss" /> & Lt; Arg value = "/ dMySourcePath = $ {deployment.dir}" /> & Lt; Arg value = "/ o $ {deployment.dir}" /> & Lt; / Executive & gt; & Lt; / Target & gt;    

Comments

Popular posts from this blog

Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

java - How not to audit a join table and related entities using Hibernate Envers? -

mongodb - CakePHP paginator ignoring order, but only for certain values -