Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

DMD61

Problems creating self-extracting files in Program Files

Recommended Posts

Good morning
 

For years, I delight in creating small self-extracting files for free programs, and I would like to understand why what I can do normally in W7 I no longer possible in W10.
If the example is copied in "C:\Program Files (x86)" folder full of JDowloader complete executable.
If this is done manually, everything works perfectly. If I create a self-extracting file with WinRAR, when I launch the executable returns an error to some files in it.
The same self-extracting file installed on W7 works without problems, what I think is that in W10 is not allowed under the "Program Files (x86)" and the like, the automatic extraction of some files.
Perhaps because they changed the management in terms of safety.
Is there any command or script to insert different procedure?

 

Sincerely thank you

Share this post


Link to post
Share on other sites

Good morning

 

For years, I delight in creating small self-extracting files for free programs, and I would like to understand why what I can do normally in W7 I no longer possible in W10.

If the example is copied in "C:\Program Files (x86)" folder full of JDowloader complete executable.

If this is done manually, everything works perfectly. If I create a self-extracting file with WinRAR, when I launch the executable returns an error to some files in it.

The same self-extracting file installed on W7 works without problems, what I think is that in W10 is not allowed under the "Program Files (x86)" and the like, the automatic extraction of some files.

Perhaps because they changed the management in terms of safety.

Is there any command or script to insert different procedure?

 

Sincerely thank you

 

Default install forder for Jdownloader 2 is %localappdata%\JDownloader v2.0 it's better use default folder to avoid problems with updates or configuration...

I did a test in Windows 10 x64 Pro and works without problems for me with WinRAR v5.30 (I'm Admin User)...

 

Try it if you want:

 

Regards... ;-)

Share this post


Link to post
Share on other sites

This is true, also works in the main route %homedrive%.
The path %localappdata% good for the installer directly and also allows the uninstall, as it is a hidden folder.
If it is done manually, as in my case, I have to enable the display of hidden folders.

 

Thanks for your interest

Share this post


Link to post
Share on other sites

This is true, also works in the main route %homedrive%.

The path %localappdata% good for the installer directly and also allows the uninstall, as it is a hidden folder.

If it is done manually, as in my case, I have to enable the display of hidden folders.

 

Thanks for your interest

Not need display hidden folders, you can put folder variables in Explorer Path bar directly, or use in WinRAR as by example Path=%localappdata% or Path=%programfiles(x86)%

Have you tried my WinRAR sfx example...?

Regards... ;-)

Share this post


Link to post
Share on other sites

This is true, also works in the main route %homedrive%.

The path %localappdata% good for the installer directly and also allows the uninstall, as it is a hidden folder.

If it is done manually, as in my case, I have to enable the display of hidden folders.

 

Thanks for your interest

 

Try, if you want, my InnoSetup Installer:

 

-Installer only English/Spanish but is multilanguage

-If you want Silent Install use /silent or /verysilent

 

Regards... ;-)

Edited by alfreire

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.   Restore formatting

  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.


  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...