Advanced Installer features and issues - Advanced Installer Community
vijay.belgaum
Posts: 3
Joined: Fri Nov 22, 2013 8:57 am

Advanced Installer features and issues

Hi,
I have below questions regarding some of the Adv Installer features, please calrify:
1. Components - No option to create new components and components are created only when we add any files/reg keys. Also how to modify the destination path of the components. We cannot modify the component destination from the components view.
2. Whenever we create a new tranforms for a vendor MSI it creates duplicate entries and few new entries in directory table (directory table has entries like INSTALLDIR0) - what are these and why does it create these entries. As per best practice we do not edit or alter any logic in Vendor MSI's but this introduces changes in it. These changes are in MST but still directory structure or any integral changes should not be done as this might break the vendor msi fucntionality. Originality of vendor MSI should not be changed so is there anything else it changes when transforms are created and will this be accepted by the customers..? any specific reason behind this..?
3. There is option to apply Shims using execution level - but this is for installation only i think. Is ther any option to apply shims to executable files which require some access (RunAsInvoker or RunAsHighest) to run within advanced installer..? I know we can create shims and apply them using custom actions but want to explore if there is any option in adv instaler which will really help reduce some efforts.
4. I had created some empty components (orphan components which are not associated with any features) but adv installer does not show them and how to identify them. We can identify through ICE validation which throws ICE 21 error for empty components but when i build/save it does not show any ICE errors for empty components.
5. There is no option to compare between 2 MSI files .i.e no option to find differences between 2 MSI's OR an MSI & MST changes. Is there any option available for this. Also there is find option but no find & replace option in Direct editor table if we want to replace some entries or hardcode paths in some tables..?
6. Repackager cannot find multiple snapshots - is theer any option for this..?
7. Why media table and Feature-Component tables are entry...? if we want to edit something OR generate some external CAB files with specific naming std's then how can this be done..?
8. When i captured driver related application it captured INF files under INI file table...INF file was taken as .INI file..why this happens or any bug or settings to be changed..?
9. If we want to automatically detect some merge modules and during capturing any app using Repackger it should show or list those specific merge modules to be added to the package..? how can this be done OR where can we place the required merge modules to add to the application..? How to capture required merge modules or how to handle merge modules..?
10. We cannot modify the shortcut details from component. Is there any option..we can modify in files/folder section.
11. I can see as an alternative method for most of the aobove mentioned tasks which can be handled but someone who is new to packaging or less experienced cannot do this.
12. What are all the basic automations done in Advanced installer which really save efforts as compared to other packaging tools..?
13. UI level custom actions are not visible in the tool (Cuatom actions in User Interface) and hence tweaking these custom actions or moving these custom actions to immediate mode would be difficult. Suppose any application is working in Full UI mode and failing in silent mode when run with silent switches then most of time it would be some custom actions present in UI mode which needs to be moved to immediate or deffered mode to make it run in silent mode (when run with /qb or /qn switch).
14. Also how can i put a custom action in both UI and deffered mode OR UI and immediate mode..?
15. Have created transforms for some vendor MSI's but they are failing during installation. I have just added properties and no other changes (have not added files/reg keys) but during installation it is extracting the MSI/MST files in one cache folder and refering files from there and failing..? what is this issue with transforms or are there any known issues with transform creations or due to chnages introduced in it..? refer attached error message.
Apart from the above issues i find the tool is really good and user friendly. We are considering this tool as a replacement for our existing tool given that all the above issues are clarified and we do not endup exploring new things and not going with alternative methods like handling some tasks with editing through tables which requires lot of efforts. I will post if there are any more issues/concerns.

Thanks,
Vijay
Attachments
Error message when installing the mis with transform
Error message when installing the mis with transform
error.png (50.57 KiB) Viewed 4237 times
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Advanced Installer features and issues

Hello Vijay,
1. Components - No option to create new components and components are created only when we add any files/reg keys. Also how to modify the destination path of the components. We cannot modify the component destination from the components view.
Please keep in mind this is our default implementation. You cannot manually create components in our "Organization" page. They are automatically created when you add and group files, folders, registry, etc (in "Files and Folders" page or in "Registry" page). However, if you need to create new components to reorganize the existing resources, then you just select the desired resource in Organization view and use "Move To New Component" context menu option.

In order to change the component directory you can move all its containing files under another directory from "Files and Folders" page.
2. Whenever we create a new tranforms for a vendor MSI it creates duplicate entries and few new entries in directory table (directory table has entries like INSTALLDIR0) - what are these and why does it create these entries. As per best practice we do not edit or alter any logic in Vendor MSI's but this introduces changes in it. These changes are in MST but still directory structure or any integral changes should not be done as this might break the vendor msi fucntionality. Originality of vendor MSI should not be changed so is there anything else it changes when transforms are created and will this be accepted by the customers..? any specific reason behind this..?
This may happen if your vendor's MSI contains under the same directory duplicates subfolders or duplicates files. We don't allow to be created (under the same directory) two folders having the same source name. This also applies for two files with the same name under the same directory. This scenario could generates MSI files which are not compatible with some Windows Installer deploying options (i.e. administrative install).

However, if you want to not apply this changes to your MSI you can select the "Directory" table, from "Table Editor" page, and from its context menu check "Ignore in Transforms" option.
3. There is option to apply Shims using execution level - but this is for installation only i think. Is ther any option to apply shims to executable files which require some access (RunAsInvoker or RunAsHighest) to run within advanced installer..? I know we can create shims and apply them using custom actions but want to explore if there is any option in adv instaler which will really help reduce some efforts.
I'm afraid we don't have predefined support for this. We only have support to set the execution level only for the installation package (using "Run as administrator" option from "Install Parameters" page). Maybe we will add support for this in a future version of Advanced Installer. Thank you for your suggestion.
4. I had created some empty components (orphan components which are not associated with any features) but adv installer does not show them and how to identify them. We can identify through ICE validation which throws ICE 21 error for empty components but when i build/save it does not show any ICE errors for empty components.
I'm afraid I don't fully understand your scenario. Can you please tell us which method you are using to create empty components? Are you trying to create them from "Table Editor -> Components" table?

Our UI doesn't allow creating empty components because an empty component will generate a temporary invalid state of the MSI database. All components are automatically created and validated by Advanced Installer when adding resources to your installation package. Therefore, there's no need to manually create empty components.
5. There is no option to compare between 2 MSI files .i.e no option to find differences between 2 MSI's OR an MSI & MST changes. Is there any option available for this. Also there is find option but no find & replace option in Direct editor table if we want to replace some entries or hardcode paths in some tables..?
We will have MSI and MST diff support starting with next version of Advanced Installer. Also, we don't have a find & replace option in "Table Editor" page. Maybe we'll add this improvement in a future version of Advanced Installer. Thank you for your suggestion. We will let you know when this will be available.
6. Repackager cannot find multiple snapshots - is theer any option for this..?
I'm afraid I don't fully understand this. Can you please give us more details (maybe exemplify)?
7. Why media table and Feature-Component tables are entry...? if we want to edit something OR generate some external CAB files with specific naming std's then how can this be done..?
This is our default implementation. The above table are populated at build time. However, in order to achieve what you want you can enable the "Advanced CAB Layout" option from "Media -> Configuration" tab.

FeatureComponents table content is not displayed because Organization view offers full support. Media table is not populated because its content may vary based on the size of the source files. The exact number of cabinets can only be known when cabinets are created during build.
8. When i captured driver related application it captured INF files under INI file table...INF file was taken as .INI file..why this happens or any bug or settings to be changed..?
In order to avoid this behavior during the repackage operation you should uncheck the "Import INI files in Windows Installer format" option from your repackage profile settings. On our "Customize Settings" dialog of the Repackager wizard click on "Edit" hyperlink and from "Repackager Settings dialog -> Settings tab" uncheck the "Import INI files in Windows Installer format" option.

Also, when adding files in "Files and Folders" page, if the add operation encounters a file with the .INI, .XML or .LNK extension, it will present you with the choice of adding it "as regular file" or importing it in Windows Installer format. If you will choose to import files in Windows Installer format, then the .inf file will be added as an INI file (in IniFile table). However, in order to avoid this behavior you should add it as a regular file (you should uncheck it from our "Import Files" dialog when adding in "Files and Folders" page).
9. If we want to automatically detect some merge modules and during capturing any app using Repackger it should show or list those specific merge modules to be added to the package..? how can this be done OR where can we place the required merge modules to add to the application..? How to capture required merge modules or how to handle merge modules..?
You can add merge module to an existing project from our "Merge Modules" page. Also, you can import existing merge modules in a new project (Start page -> Merge Modules projects -> Import section).

Also, starting with 10.6 version of Advanced Installer we have support to automatically replace specific resources (file or registries) in your project with the corresponding merge modules from your local machine. Just use the [Detect MSM] toolbar button from "Home" tab. For example, after importing the repackage operation results into a new project you can use the [Detect MSM] toolbar button to replace files and registries (captured by Repackager and added in your new project) with their corresponding MSMs from your machine.
10. We cannot modify the shortcut details from component. Is there any option..we can modify in files/folder section.
You can modify a shortcut settings from our "Files and Folders" page. Just select it and use its "Properties..." context menu option. Also you can take a look on our "Creating Shortcuts in the Files and Folders Page" article.
12. What are all the basic automations done in Advanced installer which really save efforts as compared to other packaging tools..?
All our features are implemented based on our clients needs. Also, we are trying to make Advanced Installer as simple and easy to use as possible. You can take a look on our full list of Advanced Installer features. We have built-in and powerful features in all Advanced Installer editions like Command Line support for Advanced Installer projects, Updater support, Native Java Launcher support, Dialog Editor, Trials and Licensing, Creating Patches, Repackager, Direct Table Editor support, etc.
13. UI level custom actions are not visible in the tool (Cuatom actions in User Interface) and hence tweaking these custom actions or moving these custom actions to immediate mode would be difficult. Suppose any application is working in Full UI mode and failing in silent mode when run with silent switches then most of time it would be some custom actions present in UI mode which needs to be moved to immediate or deffered mode to make it run in silent mode (when run with /qb or /qn switch).
In order to call a custom action within installation UI you can add the custom action as a custom action without sequence and, then use an "Execute custom action" event to trigger the custom action without sequence. You can find an example in our "Execute custom action on button push" article.
14. Also how can i put a custom action in both UI and deffered mode OR UI and immediate mode..?
If you add your custom action as a custom action with sequence then you can share it between "Wizard Dialogs Stage" and Install Execution Stage". You should just select and drag (while keeping the SHIFT key pressed) your custom action with sequence from "Install Execution Stage" to "Wizard Dialogs Stage".

Also, please keep in mind that all custom action added in "Wizard Dialogs Stage" are executed as immediate. So, when sharing a custom action within wizard and install execution stage its execution time can be set only to immediate. If you want to add a custom action in both sequence stages ("Wizard Dialogs Stage" (immediate) and "Install Execution Stage (deferred)), then you should use two different custom actions.
15. Have created transforms for some vendor MSI's but they are failing during installation. I have just added properties and no other changes (have not added files/reg keys) but during installation it is extracting the MSI/MST files in one cache folder and refering files from there and failing..? what is this issue with transforms or are there any known issues with transform creations or due to chnages introduced in it..? refer attached error message.
I'm not sure why this happens. Can you give us a detailed step by step test case which leads to the related behavior or can you isolate the behavior in a sample and send it us so we can test and investigate?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
vijay.belgaum
Posts: 3
Joined: Fri Nov 22, 2013 8:57 am

Re: Advanced Installer features and issues

Thanks Daniel for the reply and it really helped. I will analyse further and get back to you in case of any queries/issues.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Advanced Installer features and issues

You're welcome Vijay.

Just let us know if there is anything we can help you with.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”