PDA

View Full Version : pragma media type doesn't work as expected



NewsArchive
01-11-2014, 11:24 AM
Hi Friedrich,

the pragma MEDIATYPE does not work as expected.

If the project ist set to "Single Image" and the pragma sets the
mediatype to 5 (Custom for UAC-aware systems), the setup throws a
"decompression error".

If the project ist set to "Custom for UAC-aware systems" and the pragma
sets the mediatype to 1 (Single Image), the pragma ist simply ignored.

How can I use the pragma, to change the media type defined in the project?

Thanks for your answer.

Markus

NewsArchive
01-11-2014, 11:24 AM
Hi Markus,

> the pragma MEDIATYPE does not work as expected.
>
> If the project ist set to "Single Image" and the pragma sets the mediatype
> to 5 (Custom for UAC-aware systems), the setup throws a "decompression
> error".
>
> If the project ist set to "Custom for UAC-aware systems" and the pragma
> sets the mediatype to 1 (Single Image), the pragma ist simply ignored.
>
> How can I use the pragma, to change the media type defined in the project?

Hmmm, I can reproduce this decompression error issue. Seems to be caused by
a compiler bug.

Item in review. We'll try to fix it in the next build.

Friedrich

NewsArchive
01-12-2014, 04:29 AM
> Hmmm, I can reproduce this decompression error issue. Seems to be caused
> by a compiler bug.

The compiler does not set the internal "Custom for UAC-aware systems" bit in
the executable and as a result, the setup.exe does not look for the .BIN
image :-( This will be fixed in the next maintenance build.

Thank you for bringing this to our attention.

Friedrich

NewsArchive
02-14-2014, 05:08 AM
Hi Friedrich,

could you please send me a version of sb8.exe (or whatever), where this
is fixed?

Thanks
Markus

NewsArchive
02-14-2014, 02:06 PM
Hi Markus,

> could you please send me a version of sb8.exe (or whatever), where this is
> fixed?

You can try this link:

http://www.lindersoft.com/forums/showthread.php?p=74859#post74859

Does this fix the issue?

Friedrich

NewsArchive
02-14-2014, 02:06 PM
It works. Thank you!

Markus Zander

NewsArchive
02-14-2014, 02:06 PM
Markus,

>
> It works. Thank you!
>

Perfect, thanks for confirming!

Friedrich