Go Back   FlashFXP Forums > >

General Discussion Need help? Have a problem? Let us help you. Bug reports and feature requests should be made using the Bug Tracker or Feature Tracker

Closed Thread
 
Thread Tools Rate Thread Display Modes
Old 10-18-2015, 07:18 PM   #1
Ascii2
Junior Member
 
Join Date: Jul 2011
Posts: 14
Default FlashFXP 5.2.0 build 3883 Installaton Customization and Installer

I am trying to test a deployment for FlashFXP 5.2.0 build 3883.
I wish to perform an installation always adhering to the following:
  • Never check for newer version
  • Data and Setting should be installed per user (as opposed to global settings and data)
  • Application should not be launched or restarted after installation

I tried running the from its wrapper and directly from the extracted installer's setup. I had examined the application's online help documentation and found some variables to use with the installer. I tried the following command lines, but neither of them resulted in the expected behaviors/settings being preselected:
Code:
FlashFXP52_3883_Setup.exe PERUSER=TRUE RESTARTAPP=FALSE
Code:
FlashFXP5_Setup.exe PERUSER=TRUE RESTARTAPP=FALSE
How should I proceed to install FlashFXP in the manner desired?

Also, can the installer be cached to another location other than "%ALLUSERSPROFILE%\Application Data\"? If so, how?

Last edited by Ascii2; 10-19-2015 at 03:34 PM. Reason: Fixed a path reference
Ascii2 is offline  
Old 10-19-2015, 08:46 AM   #2
MxxCon
Super Duper
FlashFXP Beta Tester
 
Join Date: Oct 2001
Location: Brooklyn, NY
Posts: 3,881
Default

What's the use-case of not wanting to check for updates to run the latest version?
__________________
[Sig removed by Administrator: Signature can not exceed 20GB]
MxxCon is offline  
Old 10-19-2015, 11:01 AM   #3
bigstar
FlashFXP Developer
FlashFXP Administrator
ioFTPD Beta Tester
 
bigstar's Avatar
 
Join Date: Oct 2001
Posts: 8,012
Default

Thank you for bringing this to my attention, there does appear to be an issue in the current installer that causes it to ignore the PERUSER=TRUE switch when passed via the command line.

Here's a link to an updated installer to address the issue, we'll update the website with this newer version in the next couple days
Download FlashFXP52_3885_Setup.exe

In addition, it appears the information in the help file is not correct, For the setup to use these variables via the command line you must use either the /S or /QUIET

Code:
FlashFXP5_Setup.exe /QUIET PERUSER=TRUE
When you use /S or /QUIET the update check is bypassed.

The installer does allow the cached folder to be changed via the command line though we have not tested this functionality, and whether or not this is preserved between program updates is not known.

Code:
FlashFXP5_Setup.exe /QUIET PERUSER=TRUE OVERRIDECACHE=C:\DATA\CACHE\
bigstar is offline  
Old 10-19-2015, 01:17 PM   #4
Ascii2
Junior Member
 
Join Date: Jul 2011
Posts: 14
Default

Quote:
Originally Posted by MxxCon View Post
What's the use-case of not wanting to check for updates to run the latest version?
There are various potential cases. Here are a few cases:
  • The systems administrator or a user has specifically intended or qualified a particular version; it would be undesirable to install anything other than what has already been determined or qualified.
  • The intended version is know and it is undesirable to consume resources the clients resources to determine current version from developer.
  • The version check/installer's network access is untrusted.
  • The latest version is not wanted.
  • Different update methods or policies are used.

Last edited by Ascii2; 10-26-2015 at 03:06 PM.
Ascii2 is offline  
Old 10-19-2015, 01:29 PM   #5
Ascii2
Junior Member
 
Join Date: Jul 2011
Posts: 14
Default

Than you bigstar (postt #3) for your comments and solution.

While on the topic of the correctness of the help file, I would guess that the description for the /S switch is incorrect.

Part of the current /S switch description is:
Code:
Perform a completely silent unintended operation
I would imagine that "unintended" should have been "unattended"; it would certainly never be desirable for for installation to be unintended.
Ascii2 is offline  
Old 10-19-2015, 02:06 PM   #6
bigstar
FlashFXP Developer
FlashFXP Administrator
ioFTPD Beta Tester
 
bigstar's Avatar
 
Join Date: Oct 2001
Posts: 8,012
Default

LOL.. yes you are correct. I missed that when proofing, thank you. I will correct that.
bigstar is offline  
Old 10-19-2015, 06:57 PM   #7
Ascii2
Junior Member
 
Join Date: Jul 2011
Posts: 14
Default

I tested the OVERRIDECACHE installer command line variable on Windows XP Professional with Service Pack 3. The installer installs the installer cache to a new directory it provides, usually named to something in the form {XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}. If OVERRIDECACHE is not explicitly specified, the "%ALLUSERSPROFILE%\Application Data" path is used by default for the cache.

If FlashFXP is again installed or a different version is installed (such as an update) the FlashFXP installer cache is located where it was last specified by the installer (implicitly or explicitly); the cache at the location prior to the last install would be gone. EDIT: This is also true regardless as to whether or not NTFS compression is present on the older cache.

The OVERRIDECACHE installer command line variable may be used by itself or in combination with other variables or switches.

Last edited by Ascii2; 10-19-2015 at 10:45 PM.
Ascii2 is offline  
Old 10-19-2015, 07:01 PM   #8
Ascii2
Junior Member
 
Join Date: Jul 2011
Posts: 14
Default

By default, if the FlashFXP installer cache is installed onto an NTFS partition, the cache's directories and files are compressed on the filesystem and given a compressed attribute.

Is there a way to forgo the installer cache's compression on an NTFS filesystem?
Ascii2 is offline  
Old 10-20-2015, 09:27 AM   #9
bigstar
FlashFXP Developer
FlashFXP Administrator
ioFTPD Beta Tester
 
bigstar's Avatar
 
Join Date: Oct 2001
Posts: 8,012
Default

you can try passing the following switch to the command line:
Code:
MYAH_COMPRESS_INSTALLER_CACHE=FALSE
bigstar is offline  
Old 10-21-2015, 08:41 PM   #10
Ascii2
Junior Member
 
Join Date: Jul 2011
Posts: 14
Default

Quote:
Originally Posted by bigstar View Post
you can try passing the following switch to the command line:
Code:
MYAH_COMPRESS_INSTALLER_CACHE=FALSE
I have performed installation trials using MYAH_COMPRESS_INSTALLER_CACHE, using different combination command line options such as with or without /QUIET and setting MYAH_COMPRESS_INSTALLER_CACHE to TRUE. The results in terms of the state of the cache were always the same as if the MYAH_COMPRESS_INSTALLER_CACHE variable were not used. The cache would remain compressed on NTFS partitions.
Ascii2 is offline  
Old 10-22-2015, 02:53 PM   #11
bigstar
FlashFXP Developer
FlashFXP Administrator
ioFTPD Beta Tester
 
bigstar's Avatar
 
Join Date: Oct 2001
Posts: 8,012
Default

I looked into this and it appears that the installer script is explicitly setting compressed cache to true and this causes the variable being passed via the CLI to be ignored.

As a work around I will add a simple check for "COMPRESS_INSTALLER_CACHE=FALSE" passed via CLI to turn it off in the next build.
bigstar is offline  
Old 10-23-2015, 12:33 AM   #12
Ascii2
Junior Member
 
Join Date: Jul 2011
Posts: 14
Default

Quote:
Originally Posted by bigstar View Post
As a work around I will add a simple check for "COMPRESS_INSTALLER_CACHE=FALSE" passed via CLI to turn it off in the next build.
Understood. I look forward to it.
Ascii2 is offline  
Old 10-25-2015, 03:46 PM   #13
bigstar
FlashFXP Developer
FlashFXP Administrator
ioFTPD Beta Tester
 
bigstar's Avatar
 
Join Date: Oct 2001
Posts: 8,012
Default

Below is a dev build with this change to the installer

Download FlashFXP52_3889_Setup.exe
bigstar is offline  
Old 10-26-2015, 02:49 PM   #14
Ascii2
Junior Member
 
Join Date: Jul 2011
Posts: 14
Default

Quote:
Originally Posted by bigstar View Post
Below is a dev build with this change to the installer

Download FlashFXP52_3889_Setup.exe
Thank you. I have tested the installer and have found it to work as expected with the COMPRESS_INSTALLER_CACHE command line variable; the installer cache is install uncompressed on NTFS file systems.
Ascii2 is offline  
Closed Thread

Tags
flashfxp, data, installer, restartapp=false, installation, peruser=true, 5.2.0, build, resulted, expected

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 07:46 AM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)