In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.

Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.

IDE macro bug

Xailer professional forum in English
Responder
Gejza Horvath
Mensajes: 281
Registrado: Mar Ago 15, 2006 1:50 pm

IDE macro bug

Mensaje 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...
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9469
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

IDE macro bug

Mensaje 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...
>
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
NoName
Mensajes: 531
Registrado: Vie Feb 03, 2006 7:27 pm

IDE macro bug

Mensaje 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...
>
Responder