Jump to content

How To Convert Install.ins To Install.au3?


Recommended Posts

Hello to all, I have a file INS with the configuration of my conexion Dial UP, "type ADSP PPOE", and I like to know if it is possible to convert a file AU3. My file INS is this:

[branding]

CompanyName = Microsoft Corporation

Wizard_Version = 5.00.2920.0000

Version = 5,00,2920,0000

Custom_Key = MICROSO

Global = 1

IE4 Welcome Msg = 1

Platform = 2

GUID = {7211FFE6-C149-11D0-AFF0-00AA003758BB}

Type = 0

NoClear = 1

SilentInstall = 1

FavoritesOnTop=0

FavoritesDelete=0x308F

NoFavorites=1

NoLinks=1

[HideCustom]

{71F159B0-139A-4555-BE78-D728734BB5D4}=1

[NoCopyComps]

{3af36230-a269-11d1-b5bf-0000f8051515}=1

{44BBA840-CC51-11CF-AAFA-00AA00B6015C}=1

{7790769C-0471-11d2-AF11-00C04FA35D02}=1

[Entry]

Entry_Name=Mi Conexión

Import_Name=Mi Conexión

Multilink=no

[branding]

Type=1

[Phone]

Dial_As_Is=Yes

Phone_Number=xxx-xxxx

Area_Code=

Country_Code=

Country_ID=

[security Imports]

ImportAuthCode = 1

ImportRatings = 1

ImportSecZones = 1

ImportSiteCert = 1

[server]

Type=PPP

SW_Compress=yes

PW_Encrypt=no

Negotiate_TCP/IP=yes

Disable_LCP=YES

Network_Logon=no

SW_Encrypt=no

Negotiate_NetBEUI=no

Negotiate_IPX/SPX=no

[Device]

Type=modem

[TCP/IP]

Specify_IP_Address=no

Specify_Server_Address=no

IP_Header_Compress=yes

Gateway_On_Remote=yes

DNS_Address=Auto

DNS_Alt_Address=Auto

WINS_address=xxx.xxx.xxx.xxx

WINS_Alt_address=xxx.xxx.xxx.xxx

[user]

Name=xxxxxx@xxxxxxxx

Password=xxxxxxxxxxxxxxxxxxxxxx

Display_Password=yes

Requires_Logon=yes

Home_Page=http://www.google.es/

NoWelcome=1

AutoDetect=1

AutoConfig=0

Quick_Link_1_Name = %QL10%.url

Quick_Link_1 = http://www.microsoft.com/isapi/redir.dll?p...r=5.0&ar=CLinks

Quick_Link_2_Name = %QL20%.url

Quick_Link_2 = http://www.microsoft.com/isapi/redir.dll?p...d=ie&ar=hotmail

Quick_Link_3_Name = %QL30%.url

Quick_Link_3 = http://www.microsoft.com/isapi/redir.dll?p...d=ie&ar=windows

Build_Download=1

Build_CD=0

Build_LAN=0

Build_BrandingOnly=0

[DesktopObjects]

Delete Old Channels=1

[ConnectionSettings]

ApplyInsToConnection=Mi Conexión

[internet_Mail]

Default_Client = yes

Infopane =D:\Archivos de Programa\Internet Explorer\Signup\MyInfopane.htm

Infopane_Bitmap =D:\Archivos de Programa\Internet Explorer\Signup\MyInfopane.gif

Junk_Mail_Filtering = 1

Logon_Using_SPA = Yes

POP_Server = xxx.xxxxxxxxxxxxxxx.xx

SMTP_Logon_Required = 1

SMTP_Logon_Using_SPA = Yes

SMTP_Server = xxxx.xx.xxxxxx

Use_IMAP = Yes

IMAP4_Server = xxx.xxxxxxx.xxxx

Welcome_Address = xxxxxxx@xxx.xxxxxxxxxxx

[Outlook_Express_Global]

Read_Only=0

Disable_Account_Access=1

Service_Name=

Service_URL=

[Outlook_Express]

DeleteLinks=1

Folder_Bar=0

Folder_List=0

Outlook_Bar=0

Status_Bar=0

Contacts=0

Tip_Day=0

Toolbar=0

Preview_Pane=0

[Mail_Signature]

Signature_Text=

Use_Mail_For_News=0

Use_Signature=0

[FavoritesEx]

Title1 = %FAV1%.url

URL1 = http://www.microsoft.com/isapi/redir.dll?p...r=5.0&ar=IStart://http://www.microsoft.com/isapi/redi...r=5.0&ar=IStart

Title2 = %FAV2%.url

URL2 = http://www.microsoft.com/isapi/redir.dll?p...Bar&o1=&o2=&o3=

Title3 = %FAV3%.url

URL3 = http://www.microsoft.com/isapi/redir.dll?p...ase&o1=&o2=&o3=

; String section for install.ins

[strings]

QL10 = "Personalizar vínculos"

QL20 = "Hotmail gratuito"

QL30 = "Windows"

FAV1 = "MSN"

FAV2 = "Guía de estaciones de radio"

FAV3 = "Sucesos de Web"

Also I need a command that run "Mi Conexión". Please, help me

Link to comment
Share on other sites

So you want it converted like this?

$file_ini = @ScriptDir & '\file.ini'
IniWrite($file_ini, 'Branding', 'CompanyName ', ' Microsoft Corporation')
IniWrite($file_ini, 'Branding', 'Wizard_Version ', ' 5.00.2920.0000')
IniWrite($file_ini, 'Branding', 'Version ', ' 5,00,2920,0000')
IniWrite($file_ini, 'Branding', 'Custom_Key ', ' MICROSO')
IniWrite($file_ini, 'Branding', 'Global ', ' 1')
IniWrite($file_ini, 'Branding', 'IE4 Welcome Msg ', ' 1')
IniWrite($file_ini, 'Branding', 'Platform ', ' 2')
IniWrite($file_ini, 'Branding', 'GUID ', ' {7211FFE6-C149-11D0-AFF0-00AA003758BB}')
IniWrite($file_ini, 'Branding', 'Type ', ' 0')
IniWrite($file_ini, 'Branding', 'NoClear ', ' 1')
IniWrite($file_ini, 'Branding', 'SilentInstall ', ' 1')
IniWrite($file_ini, 'Branding', 'FavoritesOnTop', '0')
IniWrite($file_ini, 'Branding', 'FavoritesDelete', '0x308F')
IniWrite($file_ini, 'Branding', 'NoFavorites', '1')
IniWrite($file_ini, 'Branding', 'NoLinks', '1')
IniWrite($file_ini, 'HideCustom', '{71F159B0-139A-4555-BE78-D728734BB5D4}', '1')
IniWrite($file_ini, 'NoCopyComps', '{3af36230-a269-11d1-b5bf-0000f8051515}', '1')
IniWrite($file_ini, 'NoCopyComps', '{44BBA840-CC51-11CF-AAFA-00AA00B6015C}', '1')
IniWrite($file_ini, 'NoCopyComps', '{7790769C-0471-11d2-AF11-00C04FA35D02}', '1')
IniWrite($file_ini, 'Entry', 'Entry_Name', 'Mi Conexión')
IniWrite($file_ini, 'Entry', 'Import_Name', 'Mi Conexión')
IniWrite($file_ini, 'Entry', 'Multilink', 'no')
IniWrite($file_ini, 'Branding', 'Type', '1')
IniWrite($file_ini, 'Phone', 'Dial_As_Is', 'Yes')
IniWrite($file_ini, 'Phone', 'Phone_Number', 'xxx-xxxx')
IniWrite($file_ini, 'Phone', 'Area_Code', '')
IniWrite($file_ini, 'Phone', 'Country_Code', '')
IniWrite($file_ini, 'Phone', 'Country_ID', '')
IniWrite($file_ini, 'Security Imports', 'ImportAuthCode ', ' 1')
IniWrite($file_ini, 'Security Imports', 'ImportRatings ', ' 1')
IniWrite($file_ini, 'Security Imports', 'ImportSecZones ', ' 1')
IniWrite($file_ini, 'Security Imports', 'ImportSiteCert ', ' 1')
IniWrite($file_ini, 'Server', 'Type', 'PPP')
IniWrite($file_ini, 'Server', 'SW_Compress', 'yes')
IniWrite($file_ini, 'Server', 'PW_Encrypt', 'no')
IniWrite($file_ini, 'Server', 'Negotiate_TCP/IP', 'yes')
IniWrite($file_ini, 'Server', 'Disable_LCP', 'YES')
IniWrite($file_ini, 'Server', 'Network_Logon', 'no')
IniWrite($file_ini, 'Server', 'SW_Encrypt', 'no')
IniWrite($file_ini, 'Server', 'Negotiate_NetBEUI', 'no')
IniWrite($file_ini, 'Server', 'Negotiate_IPX/SPX', 'no')
IniWrite($file_ini, 'Device', 'Type', 'modem')
IniWrite($file_ini, 'TCP/IP', 'Specify_IP_Address', 'no')
IniWrite($file_ini, 'TCP/IP', 'Specify_Server_Address', 'no')
IniWrite($file_ini, 'TCP/IP', 'IP_Header_Compress', 'yes')
IniWrite($file_ini, 'TCP/IP', 'Gateway_On_Remote', 'yes')
IniWrite($file_ini, 'TCP/IP', 'DNS_Address', 'Auto')
IniWrite($file_ini, 'TCP/IP', 'DNS_Alt_Address', 'Auto')
IniWrite($file_ini, 'TCP/IP', 'WINS_address', 'xxx.xxx.xxx.xxx')
IniWrite($file_ini, 'TCP/IP', 'WINS_Alt_address', 'xxx.xxx.xxx.xxx')
IniWrite($file_ini, 'User', 'Name', 'xxxxxx@xxxxxxxx')
IniWrite($file_ini, 'User', 'Password', 'xxxxxxxxxxxxxxxxxxxxxx')
IniWrite($file_ini, 'User', 'Display_Password', 'yes')
IniWrite($file_ini, 'User', 'Requires_Logon', 'yes')
IniWrite($file_ini, 'URL', 'Home_Page', 'http://www.google.es/')
IniWrite($file_ini, 'URL', 'NoWelcome', '1')
IniWrite($file_ini, 'URL', 'AutoDetect', '1')
IniWrite($file_ini, 'URL', 'AutoConfig', '0')
IniWrite($file_ini, 'URL', 'Quick_Link_1_Name ', ' %QL10%.url')
IniWrite($file_ini, 'URL', 'Quick_Link_1 ', ' http://www.microsoft.com/isapi/redir.dll?p...r')
IniWrite($file_ini, 'URL', 'Quick_Link_2_Name ', ' %QL20%.url')
IniWrite($file_ini, 'URL', 'Quick_Link_2 ', ' http://www.microsoft.com/isapi/redir.dll?prd')
IniWrite($file_ini, 'URL', 'Quick_Link_3_Name ', ' %QL30%.url')
IniWrite($file_ini, 'URL', 'Quick_Link_3 ', ' http://www.microsoft.com/isapi/redir.dll?prd')
IniWrite($file_ini, 'Media', 'Build_Download', '1')
IniWrite($file_ini, 'Media', 'Build_CD', '0')
IniWrite($file_ini, 'Media', 'Build_LAN', '0')
IniWrite($file_ini, 'Media', 'Build_BrandingOnly', '0')
IniWrite($file_ini, 'DesktopObjects', 'Delete Old Channels', '1')
IniWrite($file_ini, 'ConnectionSettings', 'ApplyInsToConnection', 'Mi Conexión')
IniWrite($file_ini, 'Internet_Mail', 'Default_Client ', ' yes')
IniWrite($file_ini, 'Internet_Mail', 'Infopane ', 'D:\Archivos de Programa\Internet Explorer\Signup\MyInfopane.htm')
IniWrite($file_ini, 'Internet_Mail', 'Infopane_Bitmap ', 'D:\Archivos de Programa\Internet Explorer\Signup\MyInfopane.gif')
IniWrite($file_ini, 'Internet_Mail', 'Junk_Mail_Filtering ', ' 1')
IniWrite($file_ini, 'Internet_Mail', 'Logon_Using_SPA ', ' Yes')
IniWrite($file_ini, 'Internet_Mail', 'POP_Server ', ' xxx.xxxxxxxxxxxxxxx.xx')
IniWrite($file_ini, 'Internet_Mail', 'SMTP_Logon_Required ', ' 1')
IniWrite($file_ini, 'Internet_Mail', 'SMTP_Logon_Using_SPA ', ' Yes')
IniWrite($file_ini, 'Internet_Mail', 'SMTP_Server ', ' xxxx.xx.xxxxxx')
IniWrite($file_ini, 'Internet_Mail', 'Use_IMAP ', ' Yes')
IniWrite($file_ini, 'Internet_Mail', 'IMAP4_Server ', ' xxx.xxxxxxx.xxxx')
IniWrite($file_ini, 'Internet_Mail', 'Welcome_Address ', ' xxxxxxx@xxx.xxxxxxxxxxx')
IniWrite($file_ini, 'Outlook_Express_Global', 'Read_Only', '0')
IniWrite($file_ini, 'Outlook_Express_Global', 'Disable_Account_Access', '1')
IniWrite($file_ini, 'Outlook_Express_Global', 'Service_Name', '')
IniWrite($file_ini, 'Outlook_Express_Global', 'Service_URL', '')
IniWrite($file_ini, 'Outlook_Express', 'DeleteLinks', '1')
IniWrite($file_ini, 'Outlook_Express', 'Folder_Bar', '0')
IniWrite($file_ini, 'Outlook_Express', 'Folder_List', '0')
IniWrite($file_ini, 'Outlook_Express', 'Outlook_Bar', '0')
IniWrite($file_ini, 'Outlook_Express', 'Status_Bar', '0')
IniWrite($file_ini, 'Outlook_Express', 'Contacts', '0')
IniWrite($file_ini, 'Outlook_Express', 'Tip_Day', '0')
IniWrite($file_ini, 'Outlook_Express', 'Toolbar', '0')
IniWrite($file_ini, 'Outlook_Express', 'Preview_Pane', '0')
IniWrite($file_ini, 'Mail_Signature', 'Signature_Text', '')
IniWrite($file_ini, 'Mail_Signature', 'Use_Mail_For_News', '0')
IniWrite($file_ini, 'Mail_Signature', 'Use_Signature', '0')
IniWrite($file_ini, 'FavoritesEx', 'Title1 ', ' %FAV1%.url')
IniWrite($file_ini, 'FavoritesEx', 'URL1 ', ' http://www.microsoft.com/isapi/redir.dll?p...r')
IniWrite($file_ini, 'FavoritesEx', 'Title2 ', ' %FAV2%.url')
IniWrite($file_ini, 'FavoritesEx', 'URL2 ', ' http://www.microsoft.com/isapi/redir.dll?p...Bar&o1')
IniWrite($file_ini, 'FavoritesEx', 'Title3 ', ' %FAV3%.url')
IniWrite($file_ini, 'FavoritesEx', 'URL3 ', ' http://www.microsoft.com/isapi/redir.dll?p...ase&o1')
IniWrite($file_ini, 'Strings', 'QL10 ', ' "Personalizar vínculos"')
IniWrite($file_ini, 'Strings', 'QL20 ', ' "Hotmail gratuito"')
IniWrite($file_ini, 'Strings', 'QL30 ', ' "Windows"')
IniWrite($file_ini, 'Strings', 'FAV1 ', ' "MSN"')
IniWrite($file_ini, 'Strings', 'FAV2 ', ' "Guía de estaciones de radio"')
IniWrite($file_ini, 'Strings', 'FAV3 ', ' "Sucesos de Web"')
Link to comment
Share on other sites

  • Moderators

Damn, that hurts my eyes just looking at it! :)

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Link to comment
Share on other sites

I dont like to create a files INI, I like to config my connection to Internet automatic.With the files INS it can do you with only clic two times above file INS. If you are thinking executing it with the command RunWait, It dont work.

Also I dont know to activate my connection with the autoit: ¿ RunConnect, Connect, WaitConnect,...?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...