|
|
|
#1
|
||||
|
||||
|
Good work altef_4
PS: In example script (bp.iss) of "BASS Protect Plugin For Inno Setup" could add to line to script. Code:
DeleteFile(ExpandConstant('{tmp}\')+fil);
Code:
#ifdef IS_ENHANCED
size_:=ExtractTemporaryFileSize(fil);
SetLength(Buffer,size_);
ExtractTemporaryFileToBuffer(fil,Cast{#defined UNICODE ? "Ansi" : ""}StringToInteger(Buffer));
#else
if not FileExists(ExpandConstant('{tmp}\')+fil) then ExtractTemporaryFile(fil);
FileSize(fil,size_);
SetLength(Buffer,size_);
LoadStringFromFile(ExpandConstant('{tmp}\')+fil,Buffer);
DeleteFile(ExpandConstant('{tmp}\')+fil);
#endif
Not protect, but hinders users from gaining access to the audio file. |
| The Following User Says Thank You to Cesar82 For This Useful Post: | ||
altef_4 (16-03-2015) | ||
| Sponsored Links |
|
#2
|
||||
|
||||
|
Quote:
|
| The Following 3 Users Say Thank You to altef_4 For This Useful Post: | ||
![]() |
| Tags |
| inno seup, library |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| BlackBox v2 | y_thelastknight | Conversion Tutorials | 567 | 11-03-2025 07:16 |
| INNO TROUBLESHOOT - Tutorials and Answers about INNO Setup | REV0 | Conversion Tutorials | 129 | 21-05-2021 05:51 |
| Useful Dll for Inno Setup users | peterf1999 | Conversion Tutorials | 88 | 01-12-2017 16:00 |
| INNO TUTORIAL - Using Unicode and ANSI Versions of INNO Setup | REV0 | Conversion Tutorials | 51 | 26-03-2015 06:57 |