PureBasic Forum
https://www.purebasic.fr/english/

[APP] Install Studio - Update 01 (17.11.2018)
https://www.purebasic.fr/english/viewtopic.php?f=14&t=71660
Page 1 of 2

Author:  neuronic [ Fri Nov 02, 2018 12:26 pm ]
Post subject:  [APP] Install Studio - Update 01 (17.11.2018)

Hi Everyone,

I have had the time to finish one of my old projects: Install Studio. As the name suggests it is an application to build install packages.

Some history:
Back in 2003 I was preparing to publish an educational software I had been working on for a year. As I planned to publish it on CD I needed to create an installer of some kind. I looked around the internet but most of them were very expensive and I didn’t have the time to learn some new scripting language. So I decided to create my own installer. It wasn’t difficult and it worked perfectly. There was only one problem: everything was hardcoded inside the source. So I was unable to use it for other software without rewriting the code.
Later I started working on a new version. Again everything was hardcoded inside the source but I managed the create a block were one could easily change the colour and the size of the window. Not a very usable piece of software.
So in 2005 I started working on brand new version where the user can change everything and add files using an editor. I took me one month and so Cougar Install System (The old name of Install Studio) was born. It worked as I wanted it to work, but it wasn’t perfect.
In 2010 I started working on a new, enhanced version of my software. I added many new features, changed some parts of the editor window, updated the source code using the latest version of PureBasic, etc. And then things changed in my life and I put the whole project on hold…
Until two years ago, when I started working on it again. A changed the help system, as well as the language system, updated to source and renamed it to Install Studio. It is still not perfect, but I decided it is time to release it. (Actually I have been using it to distribute my own games and software for years.)

Some features:
  • Build install packages without any programming knowledge.
  • Create multi language install packages.
  • Place icons on the desktop and/or in the start menu using icons from executable files.
  • Change the appearance, the size or the colour of the window as you wish. Change text colours as you wish.
  • Compress your files in order to save disk space and download time.
  • Create self-extracting install packages, Install Studio Pack files or store the files individually. You can easily create multi-disk install packages for CDs and DVDs.
  • Automatically create the uninstall application with the same settings, window size, image, etc. as the installer.
  • Include or exclude several screens according to your needs. Create or exclude Information screen, Eula screen, Settings screen, Activation code screen.
  • Set registry values easily. Including the installation path, the installation source, time or date automatically.
  • Pre-check certain registry values
  • Activation code screen to protect your install package.
  • Download components via the internet during the installation process.
  • Limit the installation according to the operation system.
  • Limit the installation according to a given date.
  • Disk check during the installation.
  • Save and Load project files.
  • SmartPack system.
  • Automatic autorun.inf creation.
  • Template system.

Download
You can download it from my website:
http://www.cyberstorm.hu/_en/index.htm
http://www.cyberstorm.hu/_en/core/software/installstudio.html

I would really appreciate any bug report or suggestion, because I am sure you will find problems. I will continue working on the code as I know where it could be improved.

Here is a screenshot:
Image


I hope you will find it useful.

neuronic


UPDATE 01 – 17.11.2018

I have uploaded the first update of Install Studio, version 2.0.1. Here is the changelog:
Changed:
  • Registration details can now be provided in the Preferences window. Without registration, the text UNSPECIFIED will be encoded into the install package.
  • The handling of SmartPack.prefs file has been modified
  • After the install package has been built, the text of the CANCEL button changes to FINISH
Bug fixes:
  • Some text related bugs
  • Install Studio was unable to create and save the uninstaller if no image was used.
Removed:
  • Registration window

You can download the new version using the link above.

neuronic

Author:  OldSkoolGamer [ Tue Nov 06, 2018 3:27 am ]
Post subject:  Re: [APP] Install Studio

Looks good, will give this a try and post results later. Thanks for sharing 8)

Update:

Tried this out last night and I like it. The interface is different than any other install maker I've used, but it somehow made more sense to me. Anyways, keep up the great work and again, thanks for sharing.

Author:  neuronic [ Wed Nov 07, 2018 10:40 pm ]
Post subject:  Re: [APP] Install Studio

Hi,

Thanks for trying it. I am also glad you liked it.
I plan to release an update in a few days. I want to remove the registration window.

neuronic

Author:  OldSkoolGamer [ Thu Nov 08, 2018 4:14 pm ]
Post subject:  Re: [APP] Install Studio

I do get an error every time that it cannot create the uninstaller for some reason...here's the log file contents with the name and e-mail removed:

[2018-11-08] Install Studio - 2.0

[09:13:44] The name of the software: IT-Apps
[09:13:44] Setup version 1.0
[09:13:44] Setup type Install Studio Pack Setup (100 MB)
[09:13:44] Number of files: 16
[09:13:44] Number of Directories: 0
[09:13:44] Total size of files: 8 MB
[09:13:44] Pack data files: Yes
[09:13:44] Hide data files: Yes

[09:13:44] Directory to create: C:\Tools\IT-Apps
[09:13:44] Information screen: No
[09:13:44] EULA screen: No
[09:13:44] Settings screen: Yes
[09:13:44] Activation code screen: No
[09:13:44] Keep original file date: Yes
[09:13:45] Enable manual path set: No
[09:13:45] Create and save Uninstall component: Yes
[09:13:45] Remove installed files only: No
[09:13:45] The displayed initial path: C:\Tools\IT-Apps\

[09:13:45] The number of integrated languages: (1) en_US,

[09:13:45] Enable disk checking: No
[09:13:45] Enable component download: No
[09:13:45] Enable Operating System check: No
[09:13:45] Enable installation date check: No

[09:13:45] Filename C:\Temp\IT-Apps_Setup.exe

[09:13:45] SAVING INSTALLER RUN-TIME ...
[09:13:45] CREATING Install Studio Pack FILE: InstallStudioData00.pak
[09:13:45] SAVING ENVIRONMENT VARIABLES ...
[09:13:45] SAVING LANGUAGE DATA ...
[09:13:45] SAVING ICONS ...
[09:13:45] Creating UNINSTALLER...
[09:13:45] Uninstall environment variables ...
[09:13:45] Saving Uninstaller language settings ...
[09:13:45] ERROR! Unable to create the Uninstaller!
[09:13:45]
[09:13:45] CREATING Install Studio Pack FILE: InstallStudioData01.pak
[09:13:45] SAVING FILES ...
[09:13:45] Packing file: AccountReset.exe
[09:13:45] Saving file: AccountReset.exe
[09:13:45] Packing file: Cjwdev.ActiveDirectory.dll
[09:13:45] Saving file: Cjwdev.ActiveDirectory.dll
[09:13:45] Packing file: Cjwdev.WindowsApi.dll
[09:13:45] Saving file: Cjwdev.WindowsApi.dll
[09:13:45] Packing file: Cjwdev.WpfCommon.dll
[09:13:45] Saving file: Cjwdev.WpfCommon.dll
[09:13:45] Packing file: CleanProfiles.exe
[09:13:45] Saving file: CleanProfiles.exe
[09:13:45] Packing file: DelProf2.exe
[09:13:45] Saving file: DelProf2.exe
[09:13:45] Packing file: GetSoftware.exe
[09:13:45] Saving file: GetSoftware.exe
[09:13:45] Packing file: GPOViewer.exe
[09:13:45] Saving file: GPOViewer.exe
[09:13:45] Packing file: IT-Apps.exe
[09:13:45] Saving file: IT-Apps.exe
[09:13:45] Packing file: Lockout.exe
[09:13:45] Saving file: Lockout.exe
[09:13:45] Packing file: Mailer.exe
[09:13:46] Saving file: Mailer.exe
[09:13:46] Packing file: PingPC.exe
[09:13:46] Saving file: PingPC.exe
[09:13:46] Packing file: ProcessLister.exe
[09:13:46] Saving file: ProcessLister.exe
[09:13:46] Packing file: putty.exe
[09:13:46] Saving file: putty.exe
[09:13:46] Packing file: RebootPC.exe
[09:13:46] Saving file: RebootPC.exe
[09:13:46] Packing file: VNCRemoteControl.exe
[09:13:47] Saving file: VNCRemoteControl.exe
[09:13:47] Elapsed time: 00:00:3
[09:13:47] SETUP HAS BEEN BUILT. Number of errors: 2

Author:  neuronic [ Thu Nov 08, 2018 10:06 pm ]
Post subject:  Re: [APP] Install Studio

Hi OldSkoolGamer

I need to do some further investigation but it might be some access violation problem.
Could you please check if there is a file called uncougar.tmp in your Temp directory?
From the log file it seems that the file is created but the program cannot access it.

Thank you for your help.

neuronic

Author:  OldSkoolGamer [ Fri Nov 09, 2018 1:47 pm ]
Post subject:  Re: [APP] Install Studio

I don't see that file in any temp directory:
C:\Users\Zax\AppData\Local\Temp
C:\Users\Zax\AppData\LocalLow\Temp
C:\Users\Zax\AppData\Roaming\Temp
C:\Windows\Temp
%temp%

Author:  neuronic [ Sat Nov 10, 2018 4:57 pm ]
Post subject:  Re: [APP] Install Studio

Hi,

The file should be there even after exiting Install Studio as it does not delete the file.

Here is how it works:

When building the install package, if the user wants Install Studio to create an uninstaller, a new file is created in the temp folder. The location of this folder is given by the GetTemporaryDirectory() function of PB. In my case it is: C:\Users\neuronic\AppData\Local\Temp\ . So on your system it should be C:\Users\Zax\AppData\Local\Temp. Install Studio creates a new file here, using the CreateFile() function, with the filename: uncougar.tmp. If the file is created successfully, Install Studio writes data into this file, closes it and saves it into the install package. Now, the log entries: Creating UNINSTALLER…, Uninstall environment variables … and Saving Uninstaller language settings ... only appear if the file is created successfully. So the file should exist.

The ERROR! Unable to create the Uninstaller! log entry may appear because of two reasons: the file could not be created or the image, if there is an image to be used, could not be encoded and saved into the file.

I use Windows 7. Maybe if you run Windows 10, its security settings or an anti-virus application stops Install Studio from creating the file.

I will try to run Install Studio on Windows 10 next week.

Again, thank you for your help.

neuronic

Author:  OldSkoolGamer [ Mon Nov 12, 2018 7:14 pm ]
Post subject:  Re: [APP] Install Studio

I right clicked and ran as admin, this time the temp file was created in the proper place, but it still has the same error that it was unable to create the uninstaller. I've tried all three installer types with the same results as well just as a FYI.
It is Windows 10 Pro - x64, no antivirus other than the built in Windows 10 Security, no firewall enabled. If you need any more info, just let me know.

Author:  neuronic [ Tue Nov 13, 2018 3:25 pm ]
Post subject:  Re: [APP] Install Studio

Hi,

I managed to test Install Studio on a Windows 10 machine and it seems that the problem has nothing to do with any security setting.
It seems that the problem occurs if there is no image used in the install package. If you try to build a package with an image, it should work. So I will locate the problem, correct the code and after further testing I will upload a new version soon.

Thanks again for your help.

neuronic

Author:  OldSkoolGamer [ Tue Nov 13, 2018 7:20 pm ]
Post subject:  Re: [APP] Install Studio

I just tried with an image and you are correct, it built successfully. Small suggestion, on the "Build Setup" screen, after the build has completed, the 'Cancel' button should probably change to 'Finish' or something. Really only cosmetic...

Author:  neuronic [ Sat Nov 17, 2018 12:34 pm ]
Post subject:  Re: [APP] Install Studio

Hi,

Update 01, version 2.0.1 has been uploaded. See first post for details.

neuronic

Author:  Mistrel [ Tue Jan 22, 2019 12:31 pm ]
Post subject:  Re: [APP] Install Studio - Update 01 (17.11.2018)

I wanted to make a suggestion for the license agreement. Many installers provide a button to "print" this document (with formatting). For my installers I found the easiest way was to display the contents as WebGadget and invoke the print dialog on this action. This both preserves any fonts and automatically handles the layout as necessary according the user's paper size.

Author:  Dude [ Tue Jan 22, 2019 1:55 pm ]
Post subject:  Re: [APP] Install Studio - Update 01 (17.11.2018)

Good tip, Mistrel!

Author:  neuronic [ Tue Jan 22, 2019 10:17 pm ]
Post subject:  Re: [APP] Install Studio - Update 01 (17.11.2018)

Thanks for the idea Mistrel. I will add a Print button as soon as I have some time.

neuronic

Author:  kpeters58 [ Fri Aug 09, 2019 1:55 am ]
Post subject:  Re: [APP] Install Studio - Update 01 (17.11.2018)

Just checking out your Install builder:

Help -> Credits & Information: Fantaisie Software misspelled

Now off to build my first setup with it ....

Page 1 of 2 All times are UTC + 1 hour
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/