GithubHelp home page GithubHelp logo

Comments (7)

nomeata avatar nomeata commented on May 5, 2024

Original comment by nomeata (Bitbucket: nomeata, GitHub: nomeata).


To be honest, my Windows knowledge goes beyond that… But I have attached a bare zipfile with the .exes. Does that work for you? If so, I can make zip-only releases as well.

from arbtt.

nomeata avatar nomeata commented on May 5, 2024

Original comment by nomeata (Bitbucket: nomeata, GitHub: nomeata).


from arbtt.

nomeata avatar nomeata commented on May 5, 2024

Original comment by Adrien Beau (Bitbucket: adrienbeau, GitHub: adrienbeau).


It almost works! :-)

arbtt-stats.exe requires pcre3.dll to run, and it is not provided in the zip file. Downloading it from http://gnuwin32.sourceforge.net/packages/pcre.htm and putting pcre3.dll in the same directory as arbtt-stats.exe fixes the problem.

Apart from that, all programs appear to work fine (under Windows 7). I have spotted a few issues, but they are unlikely to be related to the packaging, so I plan to file a few separate bug reports.

Can you provide pcre3.dll in the zipfile? Or should users download it separately?

from arbtt.

nomeata avatar nomeata commented on May 5, 2024

Original comment by nomeata (Bitbucket: nomeata, GitHub: nomeata).


I should provide this in the zipfile, together with stuff like README and the documentation.

Do you know if there is a way to make the installer work without administration rights? It is using Inno Setup with this configuration: https://bitbucket.org/nomeata/arbtt/src/ebcca1baed3c1442663ad8963b2bf85d3eaee2ec/setup.iss?at=master&fileviewer=file-view-default

from arbtt.

nomeata avatar nomeata commented on May 5, 2024

Original comment by Adrien Beau (Bitbucket: adrienbeau, GitHub: adrienbeau).


I don't know Inno Setup, but looking at the documentation, it appears adding PrivilegesRequired=lowest to the [Setup] section should do the trick (cf. http://www.jrsoftware.org/ishelp/index.php?topic=setup_privilegesrequired).

One exception though: the path modification script (modpath.iss) contains a hardcoded reference to the SYSTEM registry which certainly needs administrative rights. It looks like changing the registry calls to refer to the USER registry should work:

#!pascal

RegQueryStringValue(HKEY_CURRENT_USER, 'Environment', 'Path', oldpath);
RegWriteStringValue(HKEY_CURRENT_USER, 'Environment', 'Path', newpath);

Do you really want to do this though? I understand this would simplify the build process, and be one less file to distribute.

However, I believe most Windows users expect an installer program to put it under the system "Program Files" directory; this one would put it somewhere deep in the user home directory. Even though this possibility was added in not-so-recent Windows versions (starting with Vista or 7), few people use it, which means information and help is hard to come by (buried very deep under the much more common Administrative install).

It also does not cover the use case of running the program from a USB key and using it on several computers.

from arbtt.

nomeata avatar nomeata commented on May 5, 2024

Original comment by nomeata (Bitbucket: nomeata, GitHub: nomeata).


Valid points… I guess I can just create zip files.

I am not using Windows myself, so in general I’d be happy if some user of arbtt on Windows is willing to volunteer as the Windows release manager. So since you seem to be knowledable: if you find arbtt useful, you should consider this role :-)

from arbtt.

nomeata avatar nomeata commented on May 5, 2024

Original comment by Adrien Beau (Bitbucket: adrienbeau, GitHub: adrienbeau).


I'm only evaluating arbtt right now, so I cannot accept this offer.

from arbtt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.