Jump to content

Need to add large exe file to compiled script


Recommended Posts

OK I have a ebook compiled with HTMLEXE (http://www.htmlexe.com).

The final executable is about 55 megs

I'm trying to protect file using Val's Xprotec. I recently got it working (email).

So when a client has already registered and the license is valid. I would like the 55 meg program to start.

So I tried a test with a small file.

This code cause a error "Error adding file"

Here is my code

CODE
$XLicense=XProTec($D_Mail, $D_Program, $U_Price, $U_Trial, $U_License, $D_License, $D_PayPal, $D_Link, $U_Return)

$b = True

If $b = True Then FileInstall("C:\data folder root\Auction\lockcode\Sci.exe", "C:\data folder root\Auction\lockcode\run\Sci.exe")

What am I doing wrong?

Edited by Steve1040
Link to comment
Share on other sites

Yes the path is correct.

I created it for this test.

Just to make sure my understanding of FileInstall is correct

FileInstall("Inputfile", "Outputfile")

Input is the file I want added to the compiled script

Output is the Filename of the (compiled script + the Input file)

Is this correct?

Link to comment
Share on other sites

Yes the path is correct.

I created it for this test.

Just to make sure my understanding of FileInstall is correct

FileInstall("Inputfile", "Outputfile")

Input is the file I want added to the compiled script

Output is the Filename of the (compiled script + the Input file)

Is this correct?

Inputfile must be written out completely. NO VARIABLES OR @MACROS.

IE: "C:\program files\this\long\ass\folder\with\the\file.exe"

Outputfile can be a variable or contain @macros.

$file = "C:\program files\the\output\folder\file.exe"

FileInstall("C:\program files\this\long\ass\folder\with\the\file.exe", $file, 1)

Edited by Blue_Drache

Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache

Link to comment
Share on other sites

that error message is from Aut2Exe

if the file isn't present when compiling script to exe

Aut2Exe message box

------------------------------------------------------

Aut2Exe Error

"Error Adding file:"

"C:\data folder root\Auction\lockcode\Sci.exe"

------------------------------------------------------

SciTe console message

!>15:32:42 Aut2exe.exe ended errors because the target exe wasn't created.rc:9999

sure that file is in the folder lockcode?

"C:\data folder root\Auction\lockcode\Sci.exe"

I see fascists...

Link to comment
Share on other sites

that error message is from Aut2Exe

if the file isn't present when compiling script to exe

Aut2Exe message box

------------------------------------------------------

Aut2Exe Error

"Error Adding file:"

"C:\data folder root\Auction\lockcode\Sci.exe"

------------------------------------------------------

SciTe console message

!>15:32:42 Aut2exe.exe ended errors because the target exe wasn't created.rc:9999

sure that file is in the folder lockcode?

"C:\data folder root\Auction\lockcode\Sci.exe"

What would you guys think of me if I told you sometimes I get 'i' and '1' mixed up

It works now - Sorry to waste everyones time.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...