We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

Lee Bornstein
Posts: 23
Joined: Sat Feb 11, 2006 5:44 am
Location: Las Vegas, NV
Contact: Website

New User has Questions

I need to create an install package that installs programs in c:\program files\mysoftware and data files in a user specified drive or folder. Using the Install Parameters screen I can set the Application Folder but how do I specify a Data Folder located on possibly another Drive or network Share?

How do I specify which files I want to go to the data folder on the specified drive or share?

What is the installer policy regarding overwriting files? If files already exist with a newer modification date than those being installed are they overwritten? Can this be specified on a file by file basis? What about version checking on EXE's, DLL's and OCX's will newer versions replace older ones regardless of file date?

Need to know...

Thanks

Lee
Mike
Posts: 292
Joined: Wed Jun 01, 2005 10:50 am
Location: Craiova, Romania
Contact: Website

Hi Lee,

You can only specify a default value for the Application Folder in the Install Parameters tab. The user can modify it in the "Select Location" MSI dialog. So, if you want the data files in user specified folder I would suggest placing them in the Application Folder.

To place the program files in a fixed (hardcoded) location create a new folder in the "Install Parameters" under Program Files tree branch. Add the files to this folder.

Regarding the file overwriting, Windows Installer uses the file versioning rules in order to determine whether a file will be installed or not. For more information on this please visit:

http://msdn.microsoft.com/library/defau ... _rules.asp

Hope this helps.

Regards,
Mihai
Mihai Bobaru
Advanced Installer Team
http://www.advancedinstaller.com
Lee Bornstein
Posts: 23
Joined: Sat Feb 11, 2006 5:44 am
Location: Las Vegas, NV
Contact: Website

Mike:
I realize that I can set default value for Applicaton folder and user can change it upon install.

Real question is how to install Programs C:\ProgramFiles\MyApp and data files in \\servername\sharename\data ?

Do I have to make three separate msi files - one for Desktops with local data, one for workstations with no data and one for server with data only?

Sounds like a complicated install procedure. Our current installer (not msi compatible) asks user for program file path and data file path.

Lee
Mike
Posts: 292
Joined: Wed Jun 01, 2005 10:50 am
Location: Craiova, Romania
Contact: Website

Hi,

You can achieve this with a single MSI package too. But since a package can get at install time only one folder path, you need a custom action to get the second path.

For more details on this solution please visit:

http://www.advancedinstaller.com/forums ... .php?t=909

Hope this helps.

Regards,
Mihai
Mihai Bobaru
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”