Thread: Unarc innosetup
View Single Post
  #3  
Old 08-12-2012, 08:46
gabrimor gabrimor is offline
Registered User
 
Join Date: Dec 2012
Location: Brazil
Posts: 9
Thanks: 1
Thanked 0 Times in 0 Posts
gabrimor is on a distinguished road
Thanks for fast answer, Stacked Deck.

First of all, I used a small game for tests, easy to work.

I'm searching around and I think I found an easiest way. For a noob, but it's working.
Only one problem: The final installer create an uninstaller but it doesn't work, the only uninstalled file is the uninstaller itself..


--> File to decompress abc.sfx (looks easiest and better then abc.arc)


How I'm building my Installer:

Step 1:
I build a simple script based on the directory of the game files. I save the script and close it without compile.

Step 2:
I create a .sfx archive with the game files.

Step 3:
Open the saved script of Step 1 and then overwrite 2 sections, [Files] and [Run] with this:

[Files]
Source: "D:\abc.exe"; DestDir: {tmp}; Flags: deleteafterinstall

[Run]
Filename: {tmp}\abc.exe; Parameters: "-x -d""{app}"" -y -s2"


Final script attached.
Attached Files
File Type: txt Script.txt (1.7 KB, 31 views)

Last edited by gabrimor; 08-12-2012 at 08:49.
Reply With Quote