MSFN Forum: how can "Setup Factory" type installers be done? - MSFN Forum

Jump to content



Unattended CD/DVD Guide Homepage · MSFN Forum Rules

Welcome to the Applications Installs forum. Make sure you read the forum rules before you start posting.

Links/Requests to warez and/or any illegal material (porn, cracks, serials, etc..) will not be tolerated. Discussion of circumventing WGA/activation/timebombs/keygens or any other illegal activity will also not be tolerated.

We try our best to keep this forum clean of illegal content. If you see any illegal activity use the "report" button you find in every post to report the specific post to the moderators. If you ignore any of the rules you will be banned without notice.

Read Forum Rules
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

how can "Setup Factory" type installers be done? Rate Topic: -----

#1 User is offline   stickfun 

  • Hmm...
  • Pip
  • Group: Members
  • Posts: 53
  • Joined: 17-August 04

  Posted 17 August 2004 - 01:11 PM

:hello: hey everybody. this is my first post :D

so my question is that i have some programs that are setup using the "setup factory" type installers.

out of the installers listed on the site, this one wasn't on it. this also seems to be how many of my programs are installed.

can anyone help me out here? :thumbup

thanks in advance ;)


#2 User is offline   1chaoticadult 

  • A Part of a Dying Breed...
  • PipPipPipPip
  • Group: Members
  • Posts: 669
  • Joined: 31-August 03

Posted 17 August 2004 - 11:16 PM

/S /W - switches for silent installation. Check unattended.msfn.org for more information.

#3 User is offline   stickfun 

  • Hmm...
  • Pip
  • Group: Members
  • Posts: 53
  • Joined: 17-August 04

Posted 17 August 2004 - 11:54 PM

ah, thanks alot :D

that did the trick.

#4 User is offline   Alex_N 

  • Newbie
  • Group: Members
  • Posts: 14
  • Joined: 10-March 05

Posted 10 March 2005 - 07:07 AM

I'm glad this thread exists because I didn't see any reference to Setup Factory on unattended.msfn.org :)

#5 User is offline   Alex_N 

  • Newbie
  • Group: Members
  • Posts: 14
  • Joined: 10-March 05

Posted 10 March 2005 - 07:26 AM

Is there any way to pass destination parameter for example?

#6 User is offline   oioldman 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 967
  • Joined: 16-April 04
  • OS:Windows 7 x64

Posted 10 March 2005 - 07:48 AM

some do allow this.
The most common being msi installer files. if you use TARGETPATH=<path> as part of switch it can install to there.
Have seen other refs and complete topics to this within forum

#7 User is offline   Alex_N 

  • Newbie
  • Group: Members
  • Posts: 14
  • Joined: 10-March 05

Posted 10 March 2005 - 07:51 AM

Thanks, but I was talking about Setup Factory only, not any other installer. I didn't see on their help documents how to pass defined values like 'Yes I want a shortcut in program menu' and such ;)

#8 User is offline   Alex_N 

  • Newbie
  • Group: Members
  • Posts: 14
  • Joined: 10-March 05

Posted 10 March 2005 - 07:52 AM

[bah, double posted]

#9 User is offline   totoymola 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 944
  • Joined: 24-September 04

Posted 10 March 2005 - 05:09 PM

I think there is a way to do that.. I will check the documentation of setup factory when I get home.

#10 User is offline   Alex_N 

  • Newbie
  • Group: Members
  • Posts: 14
  • Joined: 10-March 05

Posted 11 March 2005 - 01:41 AM

That would be great ;)

#11 User is offline   Alex_N 

  • Newbie
  • Group: Members
  • Posts: 14
  • Joined: 10-March 05

Posted 11 March 2005 - 09:14 AM

totoymola, on Mar 11 2005, 01:09 AM, said:

I think there is a way to do that..  I will check the documentation of setup factory when I get home.
<{POST_SNAPBACK}>

You might have forgotten :P

#12 User is offline   totoymola 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 944
  • Joined: 24-September 04

Posted 12 March 2005 - 12:53 AM

No buddy. I didn't forget that. :)

Here's what the help file says.

Quote

The following command line options are supported by the Setup Factory installer:

/S:<<optional ini file>>
Allow an install to be run in silent mode. As a result, no screens or dialogs will be shown. If /S is passed on the command line it will set the global variable _SilentInstall to true if the Enable silent/unattended install option is selected in project settings.

This command line option also has an optional INI file that can be passed containing session variable values. For example:



"C:\output\setup.exe" "/S:C:\setupvars.ini"

This will cause the session variables in the INI file to be used for the setup. The INI file should be in the format:

[SetupValues]%AppFolder%=C:\Program Files\Your Product 2
%UserName%=Joe Blow
%Whatever%=Who knows



/T:<<file path>>
Every setup executable requires some temporary space on the user's hard drive during the installation process. By default, Setup Factory uses the user's TEMP directory for extracting temporary files and other miscellaneous operations. You can force the setup executable to use an alternate directory by using the /T command line option.

The syntax for the /T option is:

/T:<<file path>>

Replace "<<file path>>" with the path to the folder you want the setup executable to use for its temporary files. (Be sure to put quotes around the entire argument if the path includes any spaces.) If the folder doesn't already exist on the user's system, it will be created automatically.

For example:

"C:\Downloads\setup.exe" "/T:C:\My Temp Dir"

(forces the installer to use "C:\My Temp Dir" for temporary files)

/NOINIT
This command line option hides the "initializing..." dialog that appears when extracting dependency or primer files at the beginning of the install.



Uninstall Command Line Options
The following command line options are supported by the Setup Factory uninstall program:

/S:<<optional ini file>>
Allow an uninstall to be run in silent mode. As a result, no screens or dialogs will be shown. If /S is passed on the command line it will set the global variable _SilentInstall to true if the Allow silent uninstall option is selected in uninstall settings.

This command line option also has an optional INI file that can be passed containing session variable values. For example:

Note: The /U command line option also must be used when calling the uninstall program. See /U for details.

"C:\Windows\MyProduct\uninstall.exe" "/U:C:\Program Files\MyProduct\MyProduct.xml" "/S:C:\setupvars.ini"

This will cause the session variables in the INI file to be used for the uninstall. The INI file should be in the format:

[UninstallValues]

%UserName%=Joe Blow
%Whatever%=Who knows



/U:<<INI config file>>
This command line option must be used when calling the uninstall program from the command line. This command also has an optional INI file that can be passed containing session variable values. For example:



"C:\Windows\MyProduct\uninstall.exe" "/U:C:\Program Files\MyProduct\MyProduct.xml"

This will cause the session variables in the INI file to be used for the uninstall. The INI file should be in the format:

[UninstallValues]

%UserName%=Joe Blow
%Whatever%=Who knows


Hope this helps. :)

#13 User is offline   totoymola 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 944
  • Joined: 24-September 04

Posted 12 March 2005 - 12:57 AM

Setup variables might interest you.

Quote

%AppFolder%
Your application's main directory, where all of your files and folders will be installed. For example, by default Setup Factory's main directory is C:\Program Files\Setup Factory 7.0.

%AppFolder% is initially set to the default value that you give it on the Session Variables tab of the Project Settings dialog. However, in most installations, the value of %AppFolder% will ultimately be set by the user on the Select Install Folder screen, overriding the default value.

%ApplicationDataFolder%
The path to the Application Data folder on the user's system. This folder serves as a common repository for application-specific data. Typically, this path is something like "C:\Documents and Settings\YourName\Application Data."

%AppShortcutFolderName%
The name of the shortcut folder on the Start menu where your application's shortcuts will be stored.

%AppShortcutFolderName% is initially set to the default value that you give it on the Session Variables tab of the Project Settings dialog. However, in many installations, the value of %AppShortcutFolderName% will ultimately be set by the user on the Select Shortcut Folder screen, overriding the default value %ProductName%.

%AppDrive%
The drive letter of %AppFolder%. You should not set this variable explicitly. It is reset every time that %AppFolder% is re-assigned. For example, if %AppFolder% is C:\Program Files\My Program, %AppDrive% will be C:.

%CommonFilesFolder%
The user's Common Files folder. Typically, this is something like: C:\Program Files\Common Files.

%CompanyName%
Your company’s name. The value of this variable is set on the Session Variables tab of the Project Settings dialog.

%CompanyURL%
Your company’s URL. The value of this variable is set on the Session Variables tab of the Project Settings dialog.

%Copyright%
The copyright message for your product. The value of this variable is set on the Session Variables tab of the Project Settings dialog.

%DAOPath%
The path to the user's DAO (Data Access Objects) directory.

%DesktopFolder%
The path to the user's Desktop folder. On Windows NT/2000/XP, this is the path from the per-user profile.

%DesktopFolderCommon%
The path to the user's Desktop folder. On Windows NT/2000/XP, this is the path from the All Users profile. On a non-Windows NT system, this will simply be the path to the user's Desktop folder (the same as _DesktopFolder).

%FontsFolder%
The path to the user’s font directory (e.g. "C:\Windows\Fonts").

%MyDocumentsFolder%
The user's personal (My Documents) folder on their system. Usually this is something like "C:\Documents and Settings\YourName\My Documents" on Windows 2000/XP and "C:\My Documents" on Windows 98/ME.

Note: Windows 95 did not have the My Documents folder and this variable will return "C:" if run on such a system.

%ProductName%
The name of the product that you are installing. The value of this variable is set on the Session Variables tab of the Project Settings dialog.

%ProductVer%
The version number of the product that you are installing. The value of this variable is set on the Session Variables tab of the Project Settings dialog.

%ProgramFilesFolder%
The user's Program Files folder (typically, this is something like "C:\Program Files").

%RegOwner%
The name of the registered user of the system.

%RegOrganization%
The organization of the registered user of the system.

%SourceDrive%
The drive that the installation executable was run from (e.g. "C:" or "D:").

%SourceFolder%
The full path to the folder that the installation executable was run from (e.g. "C:\Downloads" or "D:\").

%SourceFilename%
The full path, including the filename, for the current setup executable.

For example, if the user was running "setup.exe" from "C:\Downloads", %SourceFilename% would be expanded to "C:\Downloads\Setup.exe".

%StartFolder%
The path to the user's Start menu folder. On Windows NT/2000/XP, this is the path from the per-user profile.

%StartFolderCommon%
The path to the user's Start menu folder. On Windows NT/2000/XP, this is the path from the All Users profile. On a non-Windows NT system, this will simply be the path to the user's Start menu folder (the same as %StartFolder%).

%StartProgramsFolder%
The path to the Programs folder in the user's Start menu. On Windows NT/2000/XP, this is the path from the per-user profile.

%StartProgramsFolderCommon%
The path to the Programs folder in the user's Start menu. On Windows NT/2000/XP, this is the path from the All Users profile. On a non-Windows NT system, this will simply be the path to the Programs folder in the user's Start menu (the same as %StartProgramsFolder%).

%StartupFolder%
The path to the user's Startup folder. On Windows NT/2000/XP, this is the path from the per-user profile.

%StartupFolderCommon%
The path to the user's Startup folder. On Windows NT/2000/XP, this is the path from the All Users profile. On a non-Windows NT system, this will be the path to the user's Startup folder (the same as %StartupFolder%).

%SystemFolder%
The path to the user’s Windows System folder (e.g. "C:\Windows\System").

%SystemDrive%
The drive that the user's Windows System directory is located on (usually "C:").

%TempFolder%
The path to the user's Temp folder.

%TempLaunchFolder%
The path to the temporary directory where Setup Factory extracts the files it will need for the installation. (For example, this is the directory where Primer files are extracted to.)

Usually this directory will be the user's temporary directory, unless the user overrides the temporary directory with the /T command line option.

%WindowsFolder%
The path to the user’s Windows folder (e.g. "C:\Windows").

%WindowTitle%
The text that will appear on the windows task bar while the installation is running. The value of this variable is set on the Session Variables tab of the Project Settings dialog.


:)

#14 User is offline   Alex_N 

  • Newbie
  • Group: Members
  • Posts: 14
  • Joined: 10-March 05

Posted 14 March 2005 - 01:38 AM

Great :D
Thanks a lot totoymola!

#15 User is offline   buletov 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 518
  • Joined: 08-September 04

Posted 14 March 2005 - 03:25 AM

setup factory rules...

#16 User is offline   Alex_N 

  • Newbie
  • Group: Members
  • Posts: 14
  • Joined: 10-March 05

Posted 14 March 2005 - 03:41 AM

Weird... When I install the application using the silent method, it doesn't create the shortcuts... and I don't see any options for specifying yes/no to create those...

Any ideas?

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy