MSFN Forum: Opera 9.21 Unattended Install - 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

Opera 9.21 Unattended Install How to make Opera 9.21 unattended Rate Topic: -----

#1 User is offline   Echo_Platoon 

  • Group: Members
  • Posts: 9
  • Joined: 11-March 07

Posted 28 May 2007 - 05:22 PM

I am writing this just for information for people who want to know this. I was doing an unattended install of Opera 9.21 but found that the base unattended install doesn't create any shortcuts whatsoever. I tried using the MSI PROPERTY of DESKTOPSHORTCUT=1 but that didn't work. After looking through forums and not finding an answer about no shortcuts being created during unattended install, I decided to open Opera's MSI installer file in Orca. In Orca, I found under the CustomAction table about what was the right MSI PROPERTY for creating shortcuts. Below are the MSI PROPERTIES for creating shortcuts for an unattended install of Opera:

Desktop Shortcut: CREATE_DESKTOP_ICON
Quick Launch Shortcut: CREATE_QUICKLAUNCH_ICON
Start Menu Shortcut: CREATE_STARTMENU_ICONS

If you set any of these equal to 1, then the shortcut will be created.

If you want the shortcuts to show up on all users' profiles, then use the following MSI PROPERTY: ALLUSERS=1

The switches to use for unattended install are /passive and /qn

Example command line install:

"Opera installer.msi" /passive /qn CREATE_DESKTOP_ICON=1 CREATE_QUICKLAUNCH_ICON=1 CREATE_STARTMENU_ICONS=1 ALLUSERS=1

This will do an unattended install of Opera and create Desktop, Quick Launch, and Start Menu shortcuts in all users' profiles.

This post has been edited by Echo_Platoon: 28 May 2007 - 05:23 PM



#2 User is offline   radix 

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

Posted 29 May 2007 - 06:33 AM

Thanks .
Not bad for the first post.
I made one like this:
Put msistub.exe and Opera.msi in a folder and create a 7-Zip archive.

This is config.txt:

;!@Install@!UTF-8!
RunProgram="msistub Opera.msi /passive /qn CREATE_DESKTOP_ICON=1 CREATE_QUICKLAUNCH_ICON=1 CREATE_STARTMENU_ICONS=1 ALLUSERS=1"
;!@InstallEnd@!

and build installer with 7zS.sfx, config.txt and Opera.7z , than I changed installer icon with Resource Hacker (I extracted the icon from Opera.exe previous installed, with AT File Mole).

This post has been edited by radix: 29 May 2007 - 06:57 AM


#3 User is offline   Echo_Platoon 

  • Group: Members
  • Posts: 9
  • Joined: 11-March 07

Posted 30 May 2007 - 11:25 AM

At the time I posted this, I didn't get a chance to build the switchless installer. I am creating it now, actually. I use the 7-zip method as well when making switchless installers.

Edit: I just finished making my switchless installer. It works beautifully. :thumbup

This post has been edited by Echo_Platoon: 30 May 2007 - 11:47 AM


#4 User is offline   Echo_Platoon 

  • Group: Members
  • Posts: 9
  • Joined: 11-March 07

Posted 30 May 2007 - 11:28 AM

radix, did you use what I posted when making your switchless installer? Just wondering.

#5 User is offline   radix 

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

Posted 30 May 2007 - 01:09 PM

View PostEcho_Platoon, on May 30 2007, 08:28 PM, said:

radix, did you use what I posted when making your switchless installer? Just wondering.

Yes, in my new silent installer.
My old silent installer has just /passive switch.
Thx.

#6 User is offline   Echo_Platoon 

  • Group: Members
  • Posts: 9
  • Joined: 11-March 07

Posted 31 May 2007 - 01:46 PM

View Postradix, on May 30 2007, 03:09 PM, said:

View PostEcho_Platoon, on May 30 2007, 08:28 PM, said:

radix, did you use what I posted when making your switchless installer? Just wondering.

Yes, in my new silent installer.
My old silent installer has just /passive switch.
Thx.


No problem. I'm glad I could help.

#7 User is offline   Martin H 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 802
  • Joined: 24-November 06
  • OS:none specified

Posted 18 December 2007 - 02:29 PM

Firstly, i apologise in advance for posting to this somewhat old thread, but since the subject is exactly the same, then i thought that there where no point in starting a new thread.

I have just changed from using Firefox to Opera, and i started by using the classic installer(wise) in my 7z switchless installer, since it was a little smaller in size than the msi installer. However, since i always preffer to have individual user profiles disabled in the apps i use, then i thought about maybe the msi installer possibly had a switch for that, since msi installers freqently have many switches available, so i opened the msi installer in orca and saw there indeed where a switch for that. So if anyone would like to disable user profile support in Opera i.e. having the profile folder in '%programfiles%\Opera\' instead of in '%appdata%\Opera\', then use the following switch :

MULTI_USER_SETTING=0

Anyway, before i opened the msi installer in orca, then i had searched alot and couldn't find any info about such a switch existing, so that's why i decided to post it here :)

This post has been edited by Martin H: 18 December 2007 - 02:33 PM


#8 User is offline   jinkazama 

  • Member
  • PipPip
  • Group: Members
  • Posts: 147
  • Joined: 16-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 19 December 2007 - 05:45 PM

Hi, someone can help me with language setting, i've read setup.ini in language section:

Location=Opera_installer.msi
[Languages]
count=23
default=402

I need an italian installation in multilanguage setup, i've changed default value in setup.ini but how can i say to unattended installer to use this indication?
Thank you

#9 User is offline   Martin H 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 802
  • Joined: 24-November 06
  • OS:none specified

Posted 23 December 2007 - 02:40 PM

Here is the captured reg keys that Opera sets when you choose 'OK' to make it the default browser :
 
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Classes\Opera.Image]
@="Image"

[HKEY_CURRENT_USER\Software\Classes\Opera.HTML]
@="HTML Document"

[HKEY_CURRENT_USER\Software\Classes\Opera.HTML\DefaultIcon]
@="C:\\Program Files\\Opera\\Opera.exe,1"

[HKEY_USERS\S-1-5-21-796845957-1563985344-1060284298-1000_Classes\Opera.Image]
@="Image"

[HKEY_USERS\S-1-5-21-796845957-1563985344-1060284298-1000_Classes\Opera.HTML]
@="HTML Document"

[HKEY_USERS\S-1-5-21-796845957-1563985344-1060284298-1000_Classes\Opera.HTML\DefaultIcon]
@="C:\\Program Files\\Opera\\Opera.exe,1"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.html]
@="Opera.HTML"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.htm]
@="Opera.HTML"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\https]
"EditFlags"=hex:02,00,00,00
"URL Protocol"=

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\https\shell\open\ddeexec]
@="\"%1\""

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\https\shell\open\ddeexec\Application]
@="Opera"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\https\shell\open\command]
@="\"C:\\Program Files\\Opera\\Opera.exe\""

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\http]
"EditFlags"=hex:02,00,00,00
"URL Protocol"=

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\http\shell\open\ddeexec]
@="\"%1\""

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\http\shell\open\ddeexec\Application]
@="Opera"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\http\shell\open\command]
@="\"C:\\Program Files\\Opera\\Opera.exe\""
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Opera.Image]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Opera.Image\shell]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Opera.Image\shell\open]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Opera.Image\shell\open\ddeexec]
@="\"%1\""
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Opera.Image\shell\open\ddeexec\Topic]
@="WWW_OpenURL"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Opera.Image\shell\open\ddeexec\Application]
@="Opera"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Opera.HTML]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Opera.HTML\shell]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Opera.HTML\shell\open]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Opera.HTML\shell\open\ddeexec]
@="\"%1\""
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Opera.HTML\shell\open\ddeexec\Topic]
@="WWW_OpenURL"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Opera.HTML\shell\open\ddeexec\Application]
@="Opera"

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet]
@="Opera.exe"
 


#10 User is offline   radix 

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

Posted 23 December 2007 - 03:09 PM

View PostMartin H, on Dec 23 2007, 10:40 PM, said:

Here is the captured reg keys that Opera sets when you choose 'OK' to make it the default browser :

Only this key and value data it matters.
HKCR\HTTP\shell\open\command\

Cheers.

#11 User is offline   Martin H 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 802
  • Joined: 24-November 06
  • OS:none specified

Posted 23 December 2007 - 03:32 PM

Yes, i know :)

However, personally then i preffer to include the exact reg entries which Opera itself adds while settings itself up as the default browser :)

#12 User is offline   Martin H 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 802
  • Joined: 24-November 06
  • OS:none specified

Posted 02 January 2008 - 08:52 PM

Instructions for making a pre-configured Opera v9.25 silent switchless installer, that's setup as the default browser :

Download Opera v9.25 msi installer.
Download the flash player plugin for Opera/Firefox.
Extract the flash player installer with 7-Zip and copy the file 'NPSWF32.dll' into a folder called 'temp' and delete all the other files.
Start the Opera installer and when you are presented with the welcome screen, then go into %temp% and copy the opera msi installer into your 'temp' folder and then continue with the install, and disable the option for having seperate user profiles.
Configure Opera as you please and then close it.
Go into '%programfiles%\Opera\' and copy these two folders into a folder named 'profile' and which you place into the 'temp' folder: 'profile' and 'mail'.
Go into 'temp\profile\profile\' and delete the folder 'cache4'(it's Opera's webpage cache).
Download msistub.exe and place it into 'temp'.
Copy paste the following into a regfile called 'setup.reg' and place it into the 'temp' folder :
 
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Classes\Opera.Image]
@="Image"

[HKEY_CURRENT_USER\Software\Classes\Opera.HTML]
@="HTML Document"

[HKEY_CURRENT_USER\Software\Classes\Opera.HTML\DefaultIcon]
@="C:\\Program Files\\Opera\\Opera.exe,1"

[HKEY_USERS\S-1-5-21-1957994488-1580818891-1708537768-1000_Classes\Opera.Image]
@="Image"

[HKEY_USERS\S-1-5-21-1957994488-1580818891-1708537768-1000_Classes\Opera.HTML]
@="HTML Document"

[HKEY_USERS\S-1-5-21-1957994488-1580818891-1708537768-1000_Classes\Opera.HTML\DefaultIcon]
@="C:\\Program Files\\Opera\\Opera.exe,1"

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet]
@="Opera.exe"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.html]
@="Opera.HTML"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\http]
"EditFlags"=hex:02,00,00,00
"URL Protocol"=

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\http\shell\open\ddeexec]
@="\"%1\""

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\http\shell\open\ddeexec\Application]
@="Opera"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\http\shell\open\command]
@="\"C:\\Program Files\\Opera\\Opera.exe\""

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\https]
"EditFlags"=hex:02,00,00,00
"URL Protocol"=

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\https\shell\open\ddeexec]
@="\"%1\""

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\https\shell\open\ddeexec\Application]
@="Opera"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\https\shell\open\command]
@="\"C:\\Program Files\\Opera\\Opera.exe\""

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.htm]
@="Opera.HTML"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Opera.Image]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Opera.Image\shell]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Opera.Image\shell\open]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Opera.Image\shell\open\ddeexec]
@="\"%1\""
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Opera.Image\shell\open\ddeexec\Topic]
@="WWW_OpenURL"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Opera.Image\shell\open\ddeexec\Application]
@="Opera"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Opera.HTML]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Opera.HTML\shell]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Opera.HTML\shell\open]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Opera.HTML\shell\open\ddeexec]
@="\"%1\""
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Opera.HTML\shell\open\ddeexec\Topic]
@="WWW_OpenURL"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Opera.HTML\shell\open\ddeexec\Application]
@="Opera"
 

Copy/paste the following into a batchfile called 'setup.cmd' and place into 'temp' :
msistub.exe "Opera installer.msi" /qn MULTI_USER_SETTING=0 CREATE_STARTMENU_ICONS=1 CREATE_DESKTOP_ICON=1
xcopy profile\*.* "%programfiles%\Opera\" /e /h /k
move NPSWF32.dll "%programfiles%\Opera\program\plugins\"
regedit /s setup.reg

Now make a 7z SFX installer of the contents inside the 'temp folder' and use the modified SFX module to do it, so that you can hide the console window and hide the unpacking window completely without using extra tools(it can also run msi's directly). Copy/paste the following into your utf-8 'config.txt' file :
;!@Install@!UTF-8!
RunProgram="hidcon:setup.cmd"
GUIMode="2"
;!@InstallEnd@!

Make the 7z SFX installer(i won't tell you how - if you don't know allready, then search for a guide).
Finished :)

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