Thread: Unarc innosetup
View Single Post
  #6  
Old 08-12-2012, 10:00
Stacked Deck Stacked Deck is offline
Banned
 
Join Date: Nov 2012
Location: Charon
Posts: 43
Thanks: 4
Thanked 33 Times in 9 Posts
Stacked Deck is on a distinguished road
Quote:
Originally Posted by gabrimor View Post
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.
That's not necessary anymore.
Reply With Quote