View Single Post
  #15  
Old 03-03-2009, 03:26
peterf1999's Avatar
peterf1999 peterf1999 is offline
Die Hard Member
 
Join Date: Nov 2008
Location: Italy
Posts: 928
Thanks: 14
Thanked 983 Times in 236 Posts
peterf1999 is on a distinguished road
Quote:
@Mondragon

DefaultDirName={pf}

this trick avoids inno defaultdirname folder error and creation of an empty folder (windows program folder still exists)
DefaultDirName value in my script is not used (files section is absent).

RegQueryStringValue(HKEY_LOCAL_MACHINE, 'Software\Microsoft\Windows\CurrentVersion\Uninsta ll\{81FF29CE-2D23-45FC-8BDE-7491A15F2B02}',
'InstallLocation', path)

retrieves path of Necrovision's installation folder to unpack NV_arc.exe.


I discovered a strange inno's bug with my script:

When compiled script start with /silent or /verysilent parameters and it's located in read-only unit (iso mounted or burned dvd)

original necrovision's setup.exe is launched but inno process strangely disappears (from process task) and nv_arc.exe is not unpacked.

this does not happen when i use hdd folder (conversion works like a charm)

Therefore, for users who have used the conversion i suggest:

1)from install.ini remove /verysilent parameter:

Code:
[default]
program=IS.exe
show=1
or

1)delete install.ini & install.exe
2)rename IS.exe to Install.exe
3)edit autorun.inf :

Code:
[autorun]
OPEN=Install.exe
ICON=install.exe,0
LABEL=NecroVisioN

Last edited by peterf1999; 03-03-2009 at 06:55.
Reply With Quote