asf Posted March 29, 2016 Share Posted March 29, 2016 Hi there Is it possible to edit a portable app launcher created through NSIS? What i want to do is change the splash.bmp, that is located in $pluginsdir together with some dll's (i extracted the exe with 7zip) Thanks Link to comment Share on other sites More sharing options...
Kalju Posted March 29, 2016 Share Posted March 29, 2016 Splash image isn't mandatory and You can ignore it at all. Link to comment Share on other sites More sharing options...
asf Posted March 29, 2016 Author Share Posted March 29, 2016 31 minutes ago, Kalju said: Splash image isn't mandatory and You can ignore it at all. I didn't say i want to remove it. I want to know how could i edit something that is in $pluginsdir Link to comment Share on other sites More sharing options...
Kalju Posted March 29, 2016 Share Posted March 29, 2016 In order to explain something, must be known in which case it is used. There are several options and they are a little bit different. The easiest way is to use the .ini file, but it can not be used if a splash image is in some another rule enabled. For example, if it is contained in a some dll file, which has already been included in the launcher file. So, if you want to use a launcher file, where is programmed into the splash, you cannot disable it, You must make a new launcher.exe, without the the splash image. If the splash is allowed with launcher.ini file, then can change adding this line:DisableSplashScreen=true So, it is for you to decide, whether you will allow or not allow splash. Link to comment Share on other sites More sharing options...
asf Posted March 29, 2016 Author Share Posted March 29, 2016 1 minute ago, Kalju said: In order to explain something, must be known in which case it is used. There are several options and they are a little bit different. The easiest way is to use the .ini file, but it can not be used if a splash image is in some another rule enabled. For example, if it is contained in a some dll file, which has already been included in the launcher file. So, if you want to use a launcher file, where is programmed into the splash, you cannot disable it, You must make a new launcher.exe, without the the splash image. If the splash is allowed with launcher.ini file, then can change adding this line:DisableSplashScreen=true So, it is for you to decide, whether you will allow or not allow splash. I know that i could do it via the ini file, but i want it done internally (*i don't want to remove the splash screen, just change it) Link to comment Share on other sites More sharing options...
Kalju Posted March 29, 2016 Share Posted March 29, 2016 You can use exactly what you want. Change, if You want. If You said, there is bmp image, change it as You desire. Replace or do what You want. Link to comment Share on other sites More sharing options...
asf Posted March 29, 2016 Author Share Posted March 29, 2016 Just now, Kalju said: You can use exactly what you want. Change, if You want. If You said, there is bmp image, change it as You desire. Replace or do what You want. Yeah but the question is how do i change it? Link to comment Share on other sites More sharing options...
andy2004 Posted March 30, 2016 Share Posted March 30, 2016 replace the BMP file with another. Link to comment Share on other sites More sharing options...
asf Posted March 30, 2016 Author Share Posted March 30, 2016 38 minutes ago, andy2004 said: replace the BMP file with another. That's my question, How? Link to comment Share on other sites More sharing options...
andy2004 Posted March 31, 2016 Share Posted March 31, 2016 well if the file is literally just a bmp file, replace it with another. find the folder, rename old .bmp file. and put in your own. if the file is inside a .dll then you'll need a app reshacker etc to replace it. It all depends on the portable app. how it was created. Link to comment Share on other sites More sharing options...
asf Posted March 31, 2016 Author Share Posted March 31, 2016 Just now, andy2004 said: well if the file is literally just a bmp file, replace it with another. find the folder, rename old .bmp file. and put in your own. The problem is that the folder is compressed in the NSIS Launcher Link to comment Share on other sites More sharing options...
andy2004 Posted March 31, 2016 Share Posted March 31, 2016 There currently no way into which you can dissemble a NSIS exe file. you can unpack a NSIS setup via 7-zip, but theres no way to get the script out of it. now it had been INNOsetup that would be easy. Link to comment Share on other sites More sharing options...
asf Posted March 31, 2016 Author Share Posted March 31, 2016 22 minutes ago, andy2004 said: now it had been INNOsetup that would be easy. How do i know if it's InnoSetup? Link to comment Share on other sites More sharing options...
andy2004 Posted March 31, 2016 Share Posted March 31, 2016 I have a portable app called Protection_ID installed. Just right click on the exe file, and then Scan with protectionid, and it will show you. Protection_ID homepage. version 6.7.5. current. most portables are either NSIS, spoon something. You'll need to run protectionid first. then click on the 4th icon down on the left side, and under main configuration, put a tick in the box, context menu. Link to comment Share on other sites More sharing options...
asf Posted March 31, 2016 Author Share Posted March 31, 2016 It's a Nullsoft SFX Setup v2.5 Is there anything i could do or just give up? (maybe i could recreate the script, (it's a portable app so it might be simple no?) 15 minutes ago, andy2004 said: I have a portable app called Protection_ID installed. Just right click on the exe file, and then Scan with protectionid, and it will show you. Protection_ID homepage. version 6.7.5. current. most portables are either NSIS, spoon something. You'll need to run protectionid first. then click on the 4th icon down on the left side, and under main configuration, put a tick in the box, context menu. Thanks but now what? Link to comment Share on other sites More sharing options...
andy2004 Posted March 31, 2016 Share Posted March 31, 2016 Well after you ticked that, followed by apply., you can now just right click on a exe file and scan it. note: its not all the app can do. You could try and recreate the script in NSIS, I wouldnt know where to begin. Personally i would just leave it as is. if it works dont try to fix it. Link to comment Share on other sites More sharing options...
asf Posted March 31, 2016 Author Share Posted March 31, 2016 27 minutes ago, andy2004 said: Well after you ticked that, followed by apply., you can now just right click on a exe file and scan it. note: its not all the app can do. Nullsoft SFX Setup v2.50 Link to comment Share on other sites More sharing options...
xanax Posted March 31, 2016 Share Posted March 31, 2016 7-zip 15.05 Beta is latest version which support nsis script extraction you can try extract with that version and recreate 7z.dll is enough to temporary change if you use newer 7-zip version Site: http://www.datafilehost.com Sharecode[?]: /d/cb7e4af5 or download from official site and extracthttps://sourceforge.net/projects/sevenzip/files/7-Zip/15.05/ example of extracted UltraCompare Portable (official latest portable version) Link to comment Share on other sites More sharing options...
asf Posted March 31, 2016 Author Share Posted March 31, 2016 15 minutes ago, xanax said: 7-zip 15.05 Beta Site: http://rghost.net Sharecode[?]: /private/6p2vVynHy/eb741856b526720c7e6d4c10239c776c File is corrupt. Got it from the original 7-zip 15.05 Beta will test and return with results Thanks 15 minutes ago, xanax said: 7z.dll is enough to temporary change if you use newer 7-zip version Just an update, this didn't work, so i just ran the original beta program. Link to comment Share on other sites More sharing options...
asf Posted March 31, 2016 Author Share Posted March 31, 2016 16 minutes ago, xanax said: 7-zip 15.05 Beta is latest version which support nsis script extraction you can try extract with that version and recreate 7z.dll is enough to temporary change if you use newer 7-zip version Site: http://rghost.net Sharecode[?]: /private/6p2vVynHy/eb741856b526720c7e6d4c10239c776c example of extracted UltraCompare Portable (official latest portable version) WOW i love you!!! THANK YOU!!!!! Now what? i have now a .nsi file what do i do now? how do i recreate it? Thanks!! Link to comment Share on other sites More sharing options...
asf Posted March 31, 2016 Author Share Posted March 31, 2016 I finally figured out most, now i need some help debugging (I don't understand how the original creator made it if it doesn't compile ) I get an error on this line, whats wrong? WriteRegBin HKCU Software\BurnAware\License Key data[91242 ... ] ; !!! Unsupported Thanks Link to comment Share on other sites More sharing options...
xanax Posted April 1, 2016 Share Posted April 1, 2016 probably depends what crack is used for example if it uses latest patch from addhaloka then probably goes like this (i think that key is not even necessary with addhaloka patch): WriteRegBin HKCU Software\BurnAware\License Key 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 check documentation here (i'm not familiar with nsis scripting) http://nsis.sourceforge.net/Reference/WriteRegBin put always qoutes if there is spaces in path, not needed in your case Link to comment Share on other sites More sharing options...
asf Posted April 1, 2016 Author Share Posted April 1, 2016 16 minutes ago, xanax said: probably depends what crack is used for example if it uses latest patch from addhaloka then probably goes like this (i think that key is not even necessary with addhaloka patch): WriteRegBin HKCU Software\BurnAware\License Key 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 check documentation here (i'm not familiar with nsis scripting) http://nsis.sourceforge.net/Reference/WriteRegBin put always qoutes if there is spaces in path, not needed in your case My question is what's wrong with the line i copied here, why would it compile? it was already once compiled something is amiss here. Link to comment Share on other sites More sharing options...
xanax Posted April 1, 2016 Share Posted April 1, 2016 complete decompiling is not fully supported like it said at the end of line, some stuff is not supported Link to comment Share on other sites More sharing options...
asf Posted April 1, 2016 Author Share Posted April 1, 2016 I checked what gets created in the registry when i run the original portable, and i get this key. [HKEY_CURRENT_USER\Software\BurnAware\License] "Key"=hex:00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00 So the question is what's the connection between this and the above line? WriteRegBin HKCU Software\BurnAware\License Key data[91242 ... ] ; !!! Unsupported Just now, xanax said: complete decompiling is not fully supported like it said at the end of line, some stuff is not supported You mean to say the script is not 100%? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.