install same ver, behave as new install, keep in a/r list? - Advanced Installer Community

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!

paul@jobpow.com
Posts: 33
Joined: Thu Oct 01, 2009 8:29 pm

install same ver, behave as new install, keep in a/r list?

i have a product that i would like to be able to install multiple times on a computer from the same media disc.

desired scenario:

user has cd
custom scripting allows user to select drive letter + "folderX"
user installs version 1.1.1 to folder C:\folderX
install completes


user uses same cd to run install again (i.e. same media, therefore no change in product code, upgrade code, or version)
user may choose same "folderX" or different drive with "folderX".
install completes with same interface as "new install"; user is *not* presented with the "repair/remove/modify" screen

is this possible while keeping product registered with windows installer?

i've tried various options, and when product code, upgrade code and version are the same, i always get the "product is already installed" warning message.
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: install same ver, behave as new install, keep in a/r list?

Hello,

You can use the Multiple Instances page to enable the package to install multiple instances of your product.

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
paul@jobpow.com
Posts: 33
Joined: Thu Oct 01, 2009 8:29 pm

Re: install same ver, behave as new install, keep in a/r list?

am i correct in understanding that using instances would necessarily be a fixed number of installs allowed for a given product code?
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: install same ver, behave as new install, keep in a/r list?

Hi,
am i correct in understanding that using instances would necessarily be a fixed number of installs allowed for a given product code?
Yes, the package can handle only the instances you define in your project.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
paul@jobpow.com
Posts: 33
Joined: Thu Oct 01, 2009 8:29 pm

Re: install same ver, behave as new install, keep in a/r list?

that does most of what i need, however i want the new instance to have its own separate collection of files in its targetpath (each instance would have a separate target path in my case). is this done with the overwrite files option? if so is there a way to automate this process of adding overwrite files? also, not all of my files appear in this list. forinstance i have multiple help files (extension .HLP) and some show in the overwrite list for selection and some do not...
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: install same ver, behave as new install, keep in a/r list?

Hi Paul,
is this done with the overwrite files option?
No. However you can use the [|InstanceId] pseudoformatted property to condition the installation of certain components depending on the instance. [|InstanceId] evaluates to whatever name you assign to the instance. By default, they are named #1, #2, #3 etc.
so is there a way to automate this process of adding overwrite files?
I am afraid there is no way to automate this.
also, not all of my files appear in this list
Please note that a component might contain more files. The Section you are referring to displays Components, not files. Thus, the .hlp files you are assuming are not appearing in the list might be included in the components that do show up. Simply go to the Organization page and right click each .hlp file resource and select "Move to New Component" if you want each .hlp file to be included in its own component. Then all your .hlp components will show up in the Overwrite Components section.

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”