Old 8th October 2018, 11:54   #1
jalaltech
Junior Member
 
Join Date: Oct 2018
Posts: 2
Re-compiling decompiled script

Hello every body ... I'm trying repack Some program so i have a problem

Attached Thumbnails
Click image for larger version

Name:	1.png
Views:	75
Size:	22.5 KB
ID:	54046   Click image for larger version

Name:	2.png
Views:	68
Size:	27.5 KB
ID:	54047  
jalaltech is offline   Reply With Quote
Old 8th October 2018, 12:02   #2
T.Slappy
Major Dude
 
T.Slappy's Avatar
 
Join Date: Jan 2006
Location: Slovakia
Posts: 521
Send a message via ICQ to T.Slappy
As the compiler says: DirVar can be used only with PageEx. See http://nsis.sourceforge.net/Docs/Chapter4.html#adirvar for more info.

Your script looks like it was generated automatically so you may need to adjust the generator. For example /ENABLECANCEL cannot be used with PageEx (only with regular Page), so you need to decide what to choose.

Cool looking skinned Graphical Installers: www.graphical-installer.com
I offer NSIS scripting, C/C++/C#/Delphi programming: www.unsignedsw.com
Develop NSIS projects in Visual Studio 2005-2017: www.visual-installer.com
or RAD Studio 2009, 2010, XE-10.2 Tokyo: www.rad-installer.com
T.Slappy is offline   Reply With Quote
Old 8th October 2018, 12:19   #3
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 4,927
It looks like you decompiled an existing installer. You cannot expect the decompiler to generate a 100% working source file.

Which decompiler are you using?

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Old 8th October 2018, 12:53   #4
jalaltech
Junior Member
 
Join Date: Oct 2018
Posts: 2
Thank u very much ... I'm using "NSIS Quick Setup Script Generator & NSIS v3 & Universal Extractor " to make Repack like " rsload.net " website

Different Between [ ( PageEx ) & ( only with regular Page ) ]
jalaltech is offline   Reply With Quote
Reply
Go Back   Winamp & SHOUTcast Forums > Developer Center > NSIS Discussion

Tags
problem

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump