logo elektroda
logo elektroda
X
logo elektroda
Dostępna jest polska wersja

Czy wolisz polską wersję strony elektroda?

Nie, dziękuję Przekieruj mnie tam

Delphi 2015 R3 Installation Issue: Unknown Error During Init - Hosts File Queries

marioodkrywca 21183 14
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 17023572
    marioodkrywca
    Level 13  
    Welcome. Unfortunately, during the installation of Delphi 2015 R3 I get an error error unknown error during init.sytuacja concerns only one computer. On another it was easy. I have read threads about deleting old data before the next installation. I have a question about the hosts file. The address that is in it does not save autoc only localhost. Should it be removed? The rest of the files I have deleted after, only the issue of hosts has remained. I would like to avoid creating an additional user ;-)
  • ADVERTISEMENT
  • #2 17023699
    DriverMSG
    VIP Meritorious for electroda.pl
    marioodkrywca wrote:
    I have a question about the hosts file
    marioodkrywca wrote:
    I would like to avoid creating an additional user;
    The hosts file is independent of the user account - common to all accounts.
    If Delphi was previously in this system, it will be the fastest to install it on the new user's account. You can transfer your data to the other account and delete the old one.
    Another option is to search the files in the user's folder and remove all traces of the old program installation manually.
  • #3 17023780
    marioodkrywca
    Level 13  
    I can not find any more. the hosts remained. Today I will backup and. I will remove it. Maybe he'll go this time.
  • #4 17024240
    DriverMSG
    VIP Meritorious for electroda.pl
    Hosts is nothing like a file with blocking addresses for a firewall - all you need to do is clear it to zero to block anything. And I doubt he would have any role in connection with the above installation error.
  • #5 17025702
    marioodkrywca
    Level 13  
    Unfortunately, on the new user, the same error pops up. The only thing I can do is wrong interpretation of deletion c: \ users \ ** USER ** \ AppData \ Roaming \ Microsoft \ System Certificates \ My

    What user is above?
  • ADVERTISEMENT
  • #6 17025776
    DriverMSG
    VIP Meritorious for electroda.pl
    marioodkrywca wrote:
    What user is above?
    About where Delphi was installed.
  • #7 17025834
    marioodkrywca
    Level 13  
    Well, I have no idea anymore.
  • ADVERTISEMENT
  • #9 17026384
    marioodkrywca
    Level 13  
    I have not changed the name of the wyupdate file.
  • ADVERTISEMENT
  • #10 17026842
    DriverMSG
    VIP Meritorious for electroda.pl
    Is it so difficult?
    Change the name and additionally check the register if there are no delphi entries in it - delete all.
  • #11 17028823
    marioodkrywca
    Level 13  
    Only what name to change?
  • #12 17029292
    DriverMSG
    VIP Meritorious for electroda.pl
    For any other.
  • #13 17402768
    Radek P.
    Level 15  
    did you find a mariocrover? I have exactly the same and nothing helps completely.
    On a stationary installation it went without a problem and on a laptop for China does not go and still the same mistake.
  • #14 19216180
    szatan54
    Level 1  
    Hello. Besides the steps above, I found a video of some Russian, just install Microsoft SQL Server Compact 3.5 Service Pack 2 and it went for me, no new user, no host change, it was enough to delete the delphi folder from appdata and aplication data. best regards
  • #15 19216898
    darek640
    Level 15  
    Hello.
    In my situation, it was enough to turn off the internet.

Topic summary

✨ During the installation of Delphi 2015 R3, users encountered an "unknown error during init" on a specific computer, while installations on other machines were successful. The discussion focused on the hosts file, which was suggested to be cleared or modified, but it was determined that it likely did not contribute to the installation error. Users recommended creating a new user account or manually removing remnants of previous installations from the user’s folder. Additional solutions included checking the registry for Delphi entries, renaming specific files, and ensuring that Microsoft SQL Server Compact 3.5 Service Pack 2 was installed. Some users found success by disabling the internet during installation or deleting the Delphi folder from AppData.
Generated by the language model.

FAQ

TL;DR: Facing Delphi 2015 R3 "Unknown error during init"? A 1‑step fix—"install Microsoft SQL Server Compact 3.5 SP2 and it went for me"—plus deleting Delphi’s AppData folders can resolve it. [Elektroda, szatan54, post #19216180]

Why it matters: This FAQ helps Delphi 2015 R3 installers quickly diagnose and fix a stubborn init error without guesswork.

Quick Facts

Is the hosts file causing the "Unknown error during init"?

Unlikely. "I doubt he would have any role in connection with the above installation error." The hosts file mainly affects name resolution. It is not an app-specific firewall, and clearing or editing it rarely impacts MSI-based installers. Focus on installer components and leftover configuration instead of hosts tweaks. If you edited hosts previously, restore it to a clean state and retry the installer. Prioritize other remedies like registry cleanup, renaming wyUpdate, or installing SQL Server Compact. [Elektroda, DriverMSG, post #17024240]

Is the hosts file user-specific or shared system-wide?

It is shared system-wide. "The hosts file is independent of the user account - common to all accounts." Creating a new Windows user will not change hosts behavior. If your installation issue persists across users, troubleshoot installer prerequisites and leftover Delphi data instead. Keep the hosts file standard unless you have a clear DNS requirement. [Elektroda, DriverMSG, post #17023699]

How do I fix the error by installing Microsoft SQL Server Compact 3.5 SP2?

Install Microsoft SQL Server Compact 3.5 SP2, then delete Delphi folders under AppData and Application Data. "Just install Microsoft SQL Server Compact 3.5 Service Pack 2 and it went for me." One user reported success without creating a new user or changing hosts. This targets missing lightweight database components some installers expect. Reboot and run the Delphi setup again after cleanup. [Elektroda, szatan54, post #19216180]

Can disabling the internet during installation help?

Yes. One user fixed the issue by turning off the internet before running the installer. Disable Wi‑Fi or unplug Ethernet, then launch setup. Some installers hang or fail during online checks; offline mode avoids those calls. Re-enable networking after installation completes. [Elektroda, darek640, post #19216898]

Should I try creating a new Windows user for a clean install?

It can help isolate profile-specific leftovers. "It will be the fastest to install it on the new user's account." You can transfer your data and remove the old account afterward. However, this is only one approach. If the error persists, proceed with deeper cleanup and component checks. [Elektroda, DriverMSG, post #17023699]

What if creating a new user still shows the same error?

That can happen. The original poster confirmed the same error on a fresh user profile. In that case, dig deeper: remove Delphi registry entries, rename the wyUpdate component, install SQL Server Compact 3.5 SP2, or try an offline install. This combination addresses system-wide and installer prerequisites. [Elektroda, marioodkrywca, post #17025702]

How do I clean Delphi leftovers and handle wyUpdate before reinstalling?

Use this 3‑step process:
  1. Close the Delphi installer and any related processes.
  2. Rename the wyUpdate executable to a different name.
  3. Check the registry for Delphi entries and delete them carefully. This removes conflicting remnants and sidesteps updater checks. "Change the name and additionally check the register... delete all." Then rerun the installer. [Elektroda, DriverMSG, post #17026842]

Which user profile does the System Certificates path apply to?

Target the profile where Delphi was installed. The guidance about cleaning c:\users\\AppData\Roaming\Microsoft\System Certificates\My refers to the Windows user used during the Delphi installation. If unsure, clean the profile you used to run the installer. [Elektroda, DriverMSG, post #17025776]

What should I rename wyUpdate to?

Any other name. The goal is to prevent the updater from running as expected during setup. For example, change wyupdate.exe to wyupdate_old.exe. "For any other." Then run the installer again. [Elektroda, DriverMSG, post #17029292]

Which AppData folders should I delete when troubleshooting?

Delete Delphi-related folders from AppData and Application Data in your user profile. One user combined this with installing Microsoft SQL Server Compact 3.5 SP2 and succeeded without creating a new user or editing hosts. Remove only Delphi folders to avoid breaking other apps. [Elektroda, szatan54, post #19216180]

Why does the error appear on one computer but not another?

It can be machine-specific. The original poster reported failure on one PC while another installed fine. Differences in installed components, registry state, or network policies can trigger the error. Address prerequisites and clean old traces to normalize environments. [Elektroda, marioodkrywca, post #17023572]

Is the Windows hosts file a firewall-like blocker for installers?

No. "Hosts is nothing like a file with blocking addresses for a firewall." It maps hostnames to IPs and does not function as a network filter. Clearing or editing it rarely fixes installer initialization problems. Focus on registry cleanup, wyUpdate renaming, SQL CE 3.5 SP2, or offline install strategies instead. [Elektroda, DriverMSG, post #17024240]
Generated by the language model.
ADVERTISEMENT