Jump to content
Edditoria

Preset Disabling Auto-Update and Prevent Default Drag-and-Drop

Recommended Posts

Hello,

It's me again. I'm developing https://github.com/Edditoria/windows-initial-setup that automates initial setup Windows for general purposes. I have another questions for silent install.

According to knowledge base, I can completely disable online update in Application.ini and do PreventDefaultDragDrop=1 in UserSettings.ini

1. In silent install, can I disable (uncheck) the auto-update in options instead of completely disable online update mechanism?

So user can control the update by himself. Touching Application.ini is not a user-friendly way for average Joe.

2. Predefine the PreventDefaultDragDrop during silent install?

I think it is an important setting and should be default in options. However, there are lots of things in "UserSettings.ini". Is it the only way that I write a script to find the string "PreventDefaultDragDrop=0" and replace it with "PreventDefaultDragDrop=1" and rewrite the ini file? Is there other ways to achieve this?

Thanks.

Share this post


Link to post
Share on other sites

1: You can change Application.ini if you do not want to let users change the option, otherwise there's UserSettings.ini which can be changed using the settings dialog.

2: Again, you have to modify the INI file directly. I'd recommend using the Win32 function WritePrivateProfileString for this task.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.