Alex99
Posts: 42
Joined: Thu Feb 14, 2013 9:28 am

Problem with Modify(Change) action

Hello,
Could you help me please? I have 2 qestions -
1)
In my installer I have set of folders which can be installed or not.
Lets suppose that user while installing choose do not install one of the folders(e.g. folder1).
After installing he goes to the Control Panel(or run installer again). And check "Modify"(Change) action.
After that I have my own dialog where user can choose what funcionallity he want to add to existing installation.
For that I need to add additional folder to install directory.(add our folder1)
Problem - how I can get that folder?
As far as I understand all my folders packed to the some package. While regular installing - files and folders will be extracted from that package.
But modify(change) action is not regular install.so extraction does not occur. am I right? or if not - when extraction process begins? so how I can get my folder from "packed" data?
2)
I have a strange behaviour of ui.
After installation I want to do modify(change) action. But if I run this action from control panel I have corrupted ui.
Looks like controls doesn't have transparent backgroud.background is white. See attached files.
But everything is fine if I launch setup.exe file again and go to the Modify action.
For some reason I can't upload file to attach. So I've upload pictures to one of picture storage -
corrupted ui - http://clip2net.com/s/5mSudl
ui is fine - http://clip2net.com/s/5mSwxX
Thanks in advance,
Alex
Dan
Posts: 4529
Joined: Wed Apr 24, 2013 3:51 pm

Re: Problem with Modify(Change) action

Hello Alex,

1)You can try to organize your application into features. In order to achieve that you can go in the Organization page, and create a feature (e.g. Feature Folder 1) using the [ New Feature ] toolbar button
and add in this feature all the related components of the files from Folder 1.
Now, you can add a new feature that will contain the compenents related to the files from folder 2.

Also, you can add in the “Dialogs” page a “ConfigureDlg” or a "SetupTypeDlg" dialog where the user can chose what features to install even from the first time to install.

2)The "Graphite" theme that you are using requires Enhanced User Interface to be enabled which is handled by our EXE Bootstrapper.
You can go in the “Media” page >> “Settings” tab and select “Always(install, uninstall and maintenance” option.

I have also atached a .zip archive which contains a sample which implemens a similar scenario.

Please let us know if that helped othwerwise gives us more detailes.

Best regards,
Dan
Attachments
sample.zip
(3.22 KiB) Downloaded 389 times
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Alex99
Posts: 42
Joined: Thu Feb 14, 2013 9:28 am

Re: Problem with Modify(Change) action

Hello Dan,
Thank you for your reply.
1) My folders is organized in "Features" but I can't add proposed dialog. Because behaviour of my installation is not so straight.
Can I somehow (from custom action for example) start installation of some feature?
2) I can't found option “Media” page >> “Settings” tab and select “Always(install, uninstall and maintenance”.
Can you please attach screenshot where this option will be pointed?
By the way - I've tried you sample and everything is fine with ui when working from control panel. But - I can't run exe file without msi next to it.
Am I right? if yes - it is not suitable solution for me. I need signle exe file. And 1 more thing - I need to use mixed (32/64) package type.
p.s. Unfortunatelly I can't send aip file to you :(

Thanks,
Alex
Dan
Posts: 4529
Joined: Wed Apr 24, 2013 3:51 pm

Re: Problem with Modify(Change) action

Hello Alex,
1) My folders is organized in "Features" but I can't add proposed dialog. Because behaviour of my installation is not so straight.
Can I somehow (from custom action for example) start installation of some feature?
You can use the "Install one or more features locally" control event added as a published event on a control button from the installation dialogs.
In order to achieve that you can go in the “Dialogs” page, select a control button and in the “Published Events” tab you can use the [New] button to add a control event. From the New Control Event window you can select Install one or more features locally features options.
2) I can't found option “Media” page >> “Settings” tab and select “Always(install, uninstall and maintenance”.
Can you please attach screenshot where this option will be pointed?
I apologize for my mistake. The option I was telling about can be found in: “Theme” page >> “Settings” tab.
But - I can't run exe file without msi next to it.
Am I right? if yes - it is not suitable solution for me. I need signle exe file
As I said, The "Graphite" theme that you are using requires Enhanced User Interface to be enabled which is handled by our EXE Bootstrapper. By default, when the theme is changed it enables “EXE setup with resources next to it” option from “Media” page. You can enable “Single EXE setup(resources inside)” option from “Media” page >> “Configuration” tab.
I need to use mixed (32/64) package type.
You can take a look on our “Mixed 32/64 Wizard” article which may be useful to you.
Unfortunatelly I can't send aip file to you
You can also send us a similar, simplified project reproducing the issue to support at advancedinstaller dot com so we can investigate it.

If you have any questions, please do not hesitate to contact us.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Alex99
Posts: 42
Joined: Thu Feb 14, 2013 9:28 am

Re: Problem with Modify(Change) action

Hello Dan,
Thank you, your answers helped. I don't see any problems for now :)

Thanks again,
Alex
Dan
Posts: 4529
Joined: Wed Apr 24, 2013 3:51 pm

Re: Problem with Modify(Change) action

Hi Alex,

You're welcome.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”