Página 1 de 1

IDE macro bug

Publicado: Lun Dic 31, 2007 4:45 pm
por Gejza Horvath
Boys,
it seems the IDE macro <PROJECT_NAME> used for Tools definition doesn't works as
documented. It allways returns the full path and .xpj file name. Reading the docs, I
expected it returns only the file name without the extension "xpj". For example, if the
project is defined in ePrikazy.xpj, the <PROJECT_NAME> macro would return "ePrikazy", but
now I get "D:PROJECTSMYPROJECTePrikazy". I think it's not necessary to return the full
path, for this reason the <PROJECT_DIR> macro is here.
I use the Inno Setup compiler to create setups, the script file is located in "Setup"
folder in my current project folder. I would like to start the Inno Setup compiler from
the IDE, but cann't generate a correct .ISS filename, which should be
"D:PROJECTSMYPROJECTSetupePrikazy.iss".
Please correct this behaviour.
Gejza Horvath
P.S.
Happy new year...

IDE macro bug

Publicado: Mié Ene 02, 2008 10:43 am
por ignacio
Gejza,
Fixed. Thanks.
Regars,
--
Ignacio Ortiz de Zúñiga
http://www.xailer.com
"Gejza Horvath" <_hsoftkn@nextra.sk> escribió en el mensaje
news:[email=47790f1c@ozsrv2.ozlan.local...]47790f1c@ozsrv2.ozlan.local...[/email]
> Boys,
>
> it seems the IDE macro <PROJECT_NAME> used for Tools definition doesn't
> works as documented. It allways returns the full path and .xpj file name.
> Reading the docs, I expected it returns only the file name without the
> extension "xpj". For example, if the project is defined in ePrikazy.xpj,
> the <PROJECT_NAME> macro would return "ePrikazy", but now I get
> "D:PROJECTSMYPROJECTePrikazy". I think it's not necessary to return the
> full path, for this reason the <PROJECT_DIR> macro is here.
>
> I use the Inno Setup compiler to create setups, the script file is located
> in "Setup" folder in my current project folder. I would like to start the
> Inno Setup compiler from the IDE, but cann't generate a correct .ISS
> filename, which should be "D:PROJECTSMYPROJECTSetupePrikazy.iss".
>
>
> Please correct this behaviour.
>
> Gejza Horvath
>
> P.S.
> Happy new year...
>

IDE macro bug

Publicado: Mié Ene 02, 2008 10:43 am
por NoName
Gejza,
Fixed. Thanks.
Regars,
--
Ignacio Ortiz de Zúñiga
http://www.xailer.com
"Gejza Horvath" <_hsoftkn@nextra.sk> escribió en el mensaje
news:[email=47790f1c@ozsrv2.ozlan.local...]47790f1c@ozsrv2.ozlan.local...[/email]
> Boys,
>
> it seems the IDE macro <PROJECT_NAME> used for Tools definition doesn't
> works as documented. It allways returns the full path and .xpj file name.
> Reading the docs, I expected it returns only the file name without the
> extension "xpj". For example, if the project is defined in ePrikazy.xpj,
> the <PROJECT_NAME> macro would return "ePrikazy", but now I get
> "D:PROJECTSMYPROJECTePrikazy". I think it's not necessary to return the
> full path, for this reason the <PROJECT_DIR> macro is here.
>
> I use the Inno Setup compiler to create setups, the script file is located
> in "Setup" folder in my current project folder. I would like to start the
> Inno Setup compiler from the IDE, but cann't generate a correct .ISS
> filename, which should be "D:PROJECTSMYPROJECTSetupePrikazy.iss".
>
>
> Please correct this behaviour.
>
> Gejza Horvath
>
> P.S.
> Happy new year...
>