MSFN Forum: WinAVI Silent install help - MSFN Forum

Jump to content



Unattended CD/DVD Guide Homepage · MSFN Forum Rules

Welcome to the Applications Installs forum. Make sure you read the forum rules before you start posting.

Links/Requests to warez and/or any illegal material (porn, cracks, serials, etc..) will not be tolerated. Discussion of circumventing WGA/activation/timebombs/keygens or any other illegal activity will also not be tolerated.

We try our best to keep this forum clean of illegal content. If you see any illegal activity use the "report" button you find in every post to report the specific post to the moderators. If you ignore any of the rules you will be banned without notice.

Read Forum Rules
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

WinAVI Silent install help cant silently install. Rate Topic: -----

#1 User is offline   slipk487 

  • Member
  • PipPip
  • Group: Members
  • Posts: 141
  • Joined: 30-September 06
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 31 August 2007 - 07:59 AM

im trying to make a silent install of WinAVI MP4 Converter. Im having problems trying to install it silently. the setup works fine but silently i get the same error returned.

here is my bat file.

start /wait winavi.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-

REGEDIT /s Winavi.reg

EXIT


the error that is returned is this.

Runtime Error (at 1:41):

Internal error: An attempt was made to expand the "app" constant before it was initialized.


What can i do to fix this. If it cant be done with switches i guess i will just make a autoit script.

Its a Inno setup if it helps.

This post has been edited by slipk487: 31 August 2007 - 08:03 AM



#2 User is offline   cyberloner 

  • OCMania.com
  • PipPipPipPip
  • Group: Members
  • Posts: 535
  • Joined: 19-July 05

Posted 31 August 2007 - 09:26 AM

no silent install for it... winavi block the silent install...
the best way i know is make own installer...
or extract using sfx with winrar and make shortcut by winrar too...
winrar rocks

#3 User is offline   radix 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 702
  • Joined: 08-February 07

Posted 31 August 2007 - 02:02 PM

For those who want to build an installer with Inno:

1.Use Universal Extractor 1.5 to extract the content of installer (don't use Universal Extractor 1.6 beta coz don't extract 2 files !).
2.Go to extraction folder and open install_script.iss file with Inno and in Tasks section delete
{code:MyConst}
from first line of this section.
3.Compile script.


Note: Seems that is imposible to kill the process who is responsible with activation at the end of the installation.
I tried taskkill command in some ways but unsuccessfully.
So the right method is to build a silent installer with files extracted with Universal Extractor 1.5 and set this
installer to extract the files in a folder, make a shortcut, import registry with username and s/n, delete
MP4debug.log file from %systemdrive% all automatically.
I found a tool that make shortcuts in this site: http://www.optimumx.com/download/
useful for those who work with 7zS.sfx

This post has been edited by radix: 31 August 2007 - 02:43 PM


#4 User is offline   cyberloner 

  • OCMania.com
  • PipPipPipPip
  • Group: Members
  • Posts: 535
  • Joined: 19-July 05

Posted 31 August 2007 - 08:57 PM

i have silent installer for it with key ..
can't post here =X

#5 User is offline   slipk487 

  • Member
  • PipPip
  • Group: Members
  • Posts: 141
  • Joined: 30-September 06
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 31 August 2007 - 11:16 PM

i was able to keep it in the inno setup i also deleted the run command. it installed fine

i just need to fix the start menu folder as it gets named (default) but thanks for the help.

for a temp fix can remain permanent i added this to the bat file.

rename "%systemdrive%\Documents and Settings\All Users\Start Menu\Programs\(Default)" "WinAVI MP4 Converter"


Here is my entire bat file

start /wait setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-

REGEDIT /s winavi.reg

rename "%systemdrive%\Documents and Settings\All Users\Start Menu\Programs\(Default)" "WinAVI MP4 Converter"

EXIT


the only problem with this is the startmenu group has to be deleted manually after uninstall

if anyone knows how to keep the startmenu group from getting named (default) plz let me know.

here is the script

[Setup]
AppName=WinAVI iPod\PSP\3GP\MP4 Video Converter
AppVerName=WinAVI MP4 Converter
DefaultDirName={pf}\WinAVI MP4 Converter
OutputBaseFilename=setup
Compression=zip
LicenseFile=embedded\License.txt
WizardImageFile=embedded\WizardImage.bmp
WizardSmallImageFile=embedded\WizardSmallImage.bmp

[Files]
Source: "{app}\Language\English.ini"; DestDir: "{app}\Language"; Flags: ignoreversion 
Source: "{app}\Help\winavi.chm"; DestDir: "{app}\Help"; Flags: ignoreversion 
Source: "{app}\test.mov"; DestDir: "{app}"; Flags: ignoreversion 
Source: "{app}\test.rm"; DestDir: "{app}"; Flags: ignoreversion 
Source: "{app}\MMEncoder.ini"; DestDir: "{app}"; Flags: ignoreversion 
Source: "{app}\Readme.txt"; DestDir: "{app}"; Flags: ignoreversion 
Source: "{app}\Filter\RealMediaSplitter.ax"; DestDir: "{app}\Filter"; Flags: ignoreversion 
Source: "{app}\Filter\OggSplitter.ax"; DestDir: "{app}\Filter"; Flags: ignoreversion 
Source: "{app}\Filter\MatroskaSplitter.ax"; DestDir: "{app}\Filter"; Flags: ignoreversion 
Source: "{app}\Filter\AviSplitter.ax"; DestDir: "{app}\Filter"; Flags: ignoreversion 
Source: "{app}\WinAVI MP4 Converter.exe"; DestDir: "{app}"; Flags: ignoreversion 
Source: "{app}\WinAVIMp4cmd.exe"; DestDir: "{app}"; Flags: ignoreversion 
Source: "{app}\VideoConverter.DLL"; DestDir: "{app}"; Flags: ignoreversion 
Source: "{app}\MMTranslation.DLL"; DestDir: "{app}"; Flags: ignoreversion 
Source: "{app}\Diver.DLL"; DestDir: "{app}"; Flags: ignoreversion 
Source: "{app}\ShellFounder.DLL"; DestDir: "{app}"; Flags: ignoreversion 
Source: "{app}\Core.DLL"; DestDir: "{app}"; Flags: ignoreversion 
Source: "{app}\MMLink.dll"; DestDir: "{app}"; Flags: ignoreversion 
Source: "{app}\Major.dll"; DestDir: "{app}"; Flags: ignoreversion 
Source: "{app}\Decoder.DLL"; DestDir: "{app}"; Flags: ignoreversion 
Source: "{app}\MTV.DAT"; DestDir: "{app}"; Flags: ignoreversion 
Source: "{app}\MP4.enc"; DestDir: "{app}"; Flags: ignoreversion 
Source: "{app}\Skins\conving.gif"; DestDir: "{app}\Skins"; Flags: ignoreversion 
Source: "{app}\Skins\3gp.bmp"; DestDir: "{app}\Skins"; Flags: ignoreversion 
Source: "{app}\Skins\background.bmp"; DestDir: "{app}\Skins"; Flags: ignoreversion 
Source: "{app}\Skins\batch.bmp"; DestDir: "{app}\Skins"; Flags: ignoreversion 
Source: "{app}\Skins\burn.bmp"; DestDir: "{app}\Skins"; Flags: ignoreversion 
Source: "{app}\Skins\buynow.bmp"; DestDir: "{app}\Skins"; Flags: ignoreversion 
Source: "{app}\Skins\click.bmp"; DestDir: "{app}\Skins"; Flags: ignoreversion 
Source: "{app}\Skins\close.bmp"; DestDir: "{app}\Skins"; Flags: ignoreversion 
Source: "{app}\Skins\con3gp.bmp"; DestDir: "{app}\Skins"; Flags: ignoreversion 
Source: "{app}\Skins\conbatch.bmp"; DestDir: "{app}\Skins"; Flags: ignoreversion 
Source: "{app}\Skins\conipod.bmp"; DestDir: "{app}\Skins"; Flags: ignoreversion 
Source: "{app}\Skins\conmp4.bmp"; DestDir: "{app}\Skins"; Flags: ignoreversion 
Source: "{app}\Skins\conother.bmp"; DestDir: "{app}\Skins"; Flags: ignoreversion 
Source: "{app}\Skins\conpsp.bmp"; DestDir: "{app}\Skins"; Flags: ignoreversion 
Source: "{app}\Skins\help.bmp"; DestDir: "{app}\Skins"; Flags: ignoreversion 
Source: "{app}\Skins\menu.bmp"; DestDir: "{app}\Skins"; Flags: ignoreversion 
Source: "{app}\Skins\mp4.bmp"; DestDir: "{app}\Skins"; Flags: ignoreversion 
Source: "{app}\Skins\skin.ini"; DestDir: "{app}\Skins"; Flags: ignoreversion 
Source: "{app}\Skins\web.bmp"; DestDir: "{app}\Skins"; Flags: ignoreversion 
Source: "{app}\Skins\welcome.bmp"; DestDir: "{app}\Skins"; Flags: ignoreversion 
Source: "{app}\Skins\wizard.bmp"; DestDir: "{app}\Skins"; Flags: ignoreversion 
Source: "{app}\Skins\min,1.bmp"; DestDir: "{app}\Skins"; DestName: "min.bmp"; Flags: ignoreversion 
Source: "{app}\Skins\ipod.bmp"; DestDir: "{app}\Skins"; Flags: ignoreversion 
Source: "{app}\Skins\psp.bmp"; DestDir: "{app}\Skins"; Flags: ignoreversion 
Source: "{app}\Skins\min,2.bmp"; DestDir: "{app}\Skins"; DestName: "min.bmp"; Flags: ignoreversion 

[Registry]
Root: HKCU; Subkey: "Software\ZjSoft\WinAVIMP4"; ValueName: "Theme"; ValueType: String; ValueData: "1"; Flags: uninsdeletekey 
Root: HKCU; Subkey: "Software\ZjSoft\WinAVIMP4"; ValueName: "Language"; ValueType: String; ValueData: "English"; Flags: uninsdeletekey 
Root: HKCU; Subkey: "Software\ZjSoft\WinAVIMP4"; ValueName: "Skin"; ValueType: String; ValueData: "0"; Flags: uninsdeletekey 
Root: HKCU; Subkey: "Software\ZjSoft\WinAVIMP4"; ValueName: "Preview"; ValueType: String; ValueData: "-1"; Flags: uninsdeletekey 
Root: HKCU; Subkey: "Software\ZjSoft\WinAVIMP4"; ValueName: "RealTime"; ValueType: String; ValueData: "0"; Flags: uninsdeletekey 
Root: HKCU; Subkey: "Software\ZjSoft\WinAVIMP4"; ValueName: "ShutDown"; ValueType: String; ValueData: "0"; Flags: uninsdeletekey 
Root: HKCU; Subkey: "Software\ZjSoft\WinAVIMP4"; ValueName: "ForceDeinterlace"; ValueType: String; ValueData: "0"; Flags: uninsdeletekey deletevalue 
Root: HKCU; Subkey: "Software\ZjSoft\WinAVIMP4"; ValueName: "TestWrite"; ValueType: String; ValueData: "0"; Flags: uninsdeletekey 
Root: HKCU; Subkey: "Software\ZjSoft\WinAVIMP4"; ValueName: "DirectAC3"; ValueType: String; ValueData: "0"; Flags: uninsdeletekey deletevalue 
Root: HKCU; Subkey: "Software\ZjSoft\WinAVIMP4"; ValueName: "ShowTip"; ValueType: String; ValueData: "1"; Flags: uninsdeletekey 
Root: HKCU; Subkey: "Software\ZjSoft\WinAVIMP4"; ValueName: "WinAVI iPod/PSP/3GP/MP4 Video Converter"; ValueType: String; ValueData: "3.1"; Flags: uninsdeletekey deletevalue 
Root: HKCU; Subkey: "Software\ZjSoft\WinAVIMP4"; ValueName: "MyEncoder"; ValueType: String; ValueData: "1"; Flags: uninsdeletekey deletevalue 

[Icons]
Name: "{group}\WinAVI MP4 Converter"; Filename: "{app}\WinAVI MP4 Converter.exe"; 
Name: "{group}\Readme"; Filename: "{app}\Readme.txt"; 
Name: "{group}\WinAVI Help"; Filename: "{app}\Help\winavi.chm"; 
Name: "{group}\WinAVIMp4cmd"; Filename: "{app}\WinAVIMp4cmd.exe"; 
Name: "{group}\WinAVI MP4 Converter on the Web"; Filename: "{app}\WinAvi.url"; 
Name: "{group}\Uninstall WinAVI MP4 Converter"; Filename: "{uninstallexe}"; 
Name: "{userdesktop}\WinAVI MP4 Converter"; Filename: "{app}\WinAVI MP4 Converter.exe"; Tasks: "desktopicon"; 
Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\WinAVI MP4 Converter"; Filename: "{app}\WinAVI MP4 Converter.exe"; Tasks: "quicklaunchicon"; 

[Tasks]
Name: "desktopicon"; Description: "Create a &desktop icon"; GroupDescription: "Additional icons:"; 
Name: "quicklaunchicon"; Description: "Create a &Quick Launch icon"; GroupDescription: "Additional icons:"; 

[Languages]
; These files are stubs
; To achieve better results after recompilation, use the real language files
Name: "default"; MessagesFile: "embedded\default.isl";

This post has been edited by slipk487: 31 August 2007 - 11:54 PM


#6 User is offline   radix 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 702
  • Joined: 08-February 07

Posted 01 September 2007 - 01:11 AM

Good work slipk487 but you can use %allusersprofile% instead of "%systemdrive%\Documents and Settings\All Users

This post has been edited by radix: 01 September 2007 - 01:12 AM


#7 User is offline   benners 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 692
  • Joined: 29-December 03

Posted 01 September 2007 - 04:01 PM

Its nearly the same for WinAVI Convertor, I made an iss that silently installs it and you can add your own settings.For the default group name add
DefaultGroupName=WinAVI MP4 Converter
to the setup section or if using ISTool go to Options, Program Group.

When extracting the Default Group name always gets set as default.

#8 User is offline   slipk487 

  • Member
  • PipPip
  • Group: Members
  • Posts: 141
  • Joined: 30-September 06
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 01 September 2007 - 05:34 PM

i didnt have to do anything to the silent install of winavi video converter. it took the silent switches with out me having to rebuild the setup.

#9 User is offline   benners 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 692
  • Joined: 29-December 03

Posted 02 September 2007 - 12:23 AM

View Postslipk487, on Sep 2 2007, 12:34 AM, said:

i didnt have to do anything to the silent install of winavi video converter. it took the silent switches with out me having to rebuild the setup.

I rebuilt it to add settings that associate it with the video filetypes context menu, don't show the message boxes and always overwrite existing files etc, so they did not need to be set every time the program was installed.

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy