Jump to content


Photo

Testing new tdm installer - 201807


  • Please log in to reply
6 replies to this topic

#1 freyk

freyk

    Advanced Member

  • Member
  • PipPipPip
  • 700 posts

Posted 23 July 2018 - 03:59 PM

As you know, im working on installation programs to install TDM on several os'ses.
My goal is to create installers, so everybody can install TDM on their system, without any problems (and avoiding beginner problems).
(see Graphical installer and moddb page)

For the version 2.06, im updating the tdm-installer - windows, with some requested features.
If you can spare some time, please help me to test it and let me know your opinions about it.

I added the following features.

  • 64 bit detection (shortcuts, files)
  • Write permissions to darkmod folder (on the users selection)
  • VC studio installer (only download, for now)
  • Steam nonsteam-game shortcuts.

====

To test each feature, do the following things:

Download the most recent version of the installer from my google drive.
and do the following optional tests:

Testing 64 bit detection
To test this feature, just use this installer and look for 64 bit files and shortcuts to them.


Test - set write permissions on darkmod folder
The installer creates TDM folder in a specified location and set write permissions to it.
To check it, start installer, install the game files, close the updater, rightclick the darkmod folder > properties > tab security. select "users" and check if it has "full control".
Check also if the updater downloads files to this folder and if tdm mission downloader can download a mission.

Test - vc++ studio installer
In this testversion, the installer downloads only the vc++ installation package, for the detected 32 of 64 bit system
Start installer, select option "test - install vc++ shortcut".
The installer downloads the installation package into the darkmod folder.
Check if the vc++ packages is downloaded for your system (if it is x86 or 64 bit)

Test - nonSteam-game shortcut in Steam

This option adds a nonsteame-game shortcut in steam. (but without icons, banners, etc)

This start steam, open in the steam client our community page and open a selection list, where the user have to select the tdm and tdm-updater..
Start installer, select option "test - steam shortcut".
After the installation of the files, the installer starts steam and ask you to login.
If you do this, the our community page appears and a messagebox with instructions you have to follow.
close the message box and check if the the selection list appears.

===

Attached Files


Edited by freyk, 24 July 2018 - 02:04 AM.

  • PsymH, stgatilov, RPGista and 1 other like this

#2 stgatilov

stgatilov

    Lead Programmer

  • Active Developer
  • PipPipPip
  • 1049 posts

Posted 23 July 2018 - 11:22 PM

I'll test it in the nearest future.

 

Test - vc++ studio installer

In this testversion, the installer downloads only the vc++ installation package, for the detected 32 of 64 bit system
Start installer, select option "test - install vc++ shortcut".
The installer downloads the installation package into the darkmod folder.
Check if the vc++ packages is downloaded for your system (if it is x86 or 64 bit)

Note that tdm_update is expected to install VC redist package by itself, so theoretically this step is unnecessary in your installer.

Although I'm not sure how well it works now --- I plan to test it on clean Windows VMs. Some duplication on this part won't hurt.

 

Anyway, please don't call this part "Install Visual C++", because "Visual C++" usually means the whole multigigabyte software including compiler, IDE, Windows SDK, and tons of other stuff.

I believe this thing is called "VC++ Redistributable", or just VC redist for short.


  • Judith likes this

#3 s.urfer

s.urfer

    Member

  • Member
  • PipPip
  • 81 posts

Posted 24 July 2018 - 01:26 AM

Tried it on an TDM unaware Win10Pro 64bit machine.

 

After the two Windows nag-screens, it installed itself into the correct 64bit program file directory.

 

I've got three Desktop icons, The Dark Mod 32&64bit and the updater, all pointing to the right directory.

 

Users have full access to the installation folder, creation and deletion of files and folders works. Other program folders seem unaffected. The later downloads also worked.

 

The VC++ step got skipped.

 

The steam integration shows the community page and with "add game", you could select TDM.

 

Even though the entry is named The Dark Mod-64bit, it is alphabetically listed under the "D" section. You should probably change the default folder's name to the_dark_mod or something like that.

 

Launching the game through the desktop icons worked.

 

Launching via steam also works, steam overlay also seems to work.

 

I would have liked to try it on a fresh Win7 system, but time was running out. I won't have access to a flat-rate machine until Sunday...


  • stgatilov likes this

#4 Destined

Destined

    Advanced Member

  • Member
  • PipPipPip
  • 1595 posts

Posted 24 July 2018 - 12:07 PM

Even though the entry is named The Dark Mod-64bit, it is alphabetically listed under the "D" section. You should probably change the default folder's name to the_dark_mod or something like that.

This is common for games on Steam, so I don't think it is a TDM issue. For example Skyrim appears under "E" for Elder scrolls or "The Long Dark" appears undder "L". It is quite common to ignore the article for sorting as this will clutter the letter "T" (or "D" for German games).



#5 s.urfer

s.urfer

    Member

  • Member
  • PipPip
  • 81 posts

Posted 25 July 2018 - 12:58 AM

This is common for games on Steam, so I don't think it is a TDM issue. For example Skyrim appears under "E" for Elder scrolls or "The Long Dark" appears undder "L". It is quite common to ignore the article for sorting as this will clutter the letter "T" (or "D" for German games).

 

Had to try that out ;)

 

When I run the installer and default to a directory named "thedarkmod", steam will list tdm under "T". No issue, just a matter of taste, I reckon. One can prompt steam to list wherever, by choosing the folder name.

 

What's also interesting, tdm was not listed, when I started steam on this machine. I thought that the different program folder was the issue - I installed tdm on the other machine to the installer default directory, on this machine it sits in a different path. This seems not to be the case. After adding the game, then closing down steam, I renamed the folder. Starting steam still showed tdm, but couldn't launch it. Looks like the Library info is stored locally, which is a bit odd, since otherwise I always see my complete library, regardless of what is installed locally.

 

Anyways, installing VC++ was again skipped, but this machine has a previous installation, so that might be normal.


Edited by s.urfer, 25 July 2018 - 01:03 AM.


#6 freyk

freyk

    Advanced Member

  • Member
  • PipPipPip
  • 700 posts

Posted 25 July 2018 - 02:28 AM

Thank you for testing the installer, s.urfer (and all).
It seems that all is working, what i have in mind. :D

During the vc++ installation, the installer detects if you need the installation of this package.
If you dont, this procedure going to be skipped. You can check this in the installation details.
You can find it, After you specify the installation path and hit the install button.
After this, you see the installation screen and you can click on the details button.
Here you will see the installation details.
The installation details are folded in, because it can scare people. Or shall i fold it out, during installation?

 About those windows nagscreens.
They are normal, if windows declares im not a official app publisher (and dont want to pay a publishing licence)
 
@stgatilov, i going to change the name in the list.

Edited by freyk, 25 July 2018 - 02:30 AM.


#7 stgatilov

stgatilov

    Lead Programmer

  • Active Developer
  • PipPipPip
  • 1049 posts

Posted 26 July 2018 - 11:30 PM

Tested on Windows 7 32-bit in virtual machine.

 

Write permissions to darkmod folder (on the users selection)

The installer by default chose directory in Program Files, which of course was not allowed to be accessed initially without admin rights.

After installation, I the access it granted (I see it in Security dialogs, I can edit the txt files without UAC intervention, tdm_update downloads files there properly).

So this part works for me.

 

VC studio installer (only download, for now)

32-bit version was downloaded, but not installed.

Also, it is the wrong version: it is named vc_redist.x86.exe and has size 14 MB.

The installer downloaded by tdm_update is named vc_redist.x86.exe and has size 6 MB.

In fact, your installer is for MSVC2017: it will work for 2.07, but won't work for 2.06.

 

Steam nonsteam-game shortcuts.

I have no steam in my VM.

 

Aside from that, all files are downloaded properly.

Unfortunately, I cannot check anything in-game.

 

The shortcuts are created on desktop, and point properly both to the game itself and to updater.

The uninstaller works properly (it removes the whole darkmod directory).

 






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users