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!

ozzy
Posts: 18
Joined: Mon Apr 23, 2007 6:56 pm

Command line enhancement

A enhancement for the command line options to allow for the importing of files and or shortcuts like you can import a .reg file. This would allow for complete packaging (at least for what I use advanced installer for) without the need for a processor script that formats the input files.

file example would be:
c:\program files\app a\file1.exe
c:\program files\common files\app a\file1.exe
c:\winnt\appA.dll

shortcut example would be
C:\Documents and Settings\All Users\Start Menu\Programs\Paint.NET.lnk
C:\Documents and Settings\All Users\Start Menu\Programs\Orca 3.lnk
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

What you mean by importing of files? Please give me more details. You can add a file to the installer by using the /AddFile command line:
http://www.advancedinstaller.com/user-g ... -file.html

Why you need to import a shortcut? You can use /NewShortcut command line option to create a new shortcut in the project:
http://www.advancedinstaller.com/user-g ... rtcut.html

Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
wyzerd
Posts: 75
Joined: Tue Mar 27, 2007 3:54 am
Location: St. Louis, MO
Contact: Website

Re: Command line enhancement

I know what is being asked for because I am trying to figure it out as well.

At build-time a command line edit to import a reg file.

/edit MyProject.aip /ImportReg <SRCDIR>\MyReg.reg

the reason this would be useful is in the event you have a 32 bit package that may be installed on a 64Bit machine. Importing it into a 32 bit package would place the keys in the correct location whereas, running the reg file through CA would cause the keys to be placed in the 64 Bit location.

It is a major flaw in the 64 Bit Windows OS that they created a new registry tree for legacy settings. Had they made the 64 Bit the new tree there wouldn't have been nearly as many problems.

the problem comes from being able to declare a set 64Bit if needed.

Importing a set that changes every couple of releases, removes the capability of automating the build process. A sychronize function against a reg file might also work similair to the file mechanism
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Command line enhancement

Hi,
At build-time a command line edit to import a reg file.
I added this improvement on our TODO list and it will be available in a future version. Thank you for your suggestion.
A sychronize function against a reg file might also work similair to the file mechanism
We will consider adding this improvement in a future version. Thank you for your suggestion.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Feature Requests”