Danmcm
Posts: 6
Joined: Thu Jun 21, 2012 11:14 pm
Location: Columbus, Ohio
Contact: Yahoo Messenger

Repackage Capture

On our Windows 7 device we’re trying to capture a Repackage Installation and create single MSI for the following…
• Uninstall a program (Cisco communicator)
• Remove a Registry Key for an IE Kiosk
• Disable IIS or enable it to only start up manually
• Install LYNC Client
• Installing LYNC certificates and host file
• Enable registry setting for LYNC to run suppressed mode
• Install custom App for LYNC ( a custom Kiosk)
• Make Register changes
I thought I had captured the communicator uninstall. I created the AIP and converted it into am MSI, installed onto a different device to test. The installer ran, but the communicator device was not removed.
1) Am I doing something wrong for the capture?
2) Is Advanced Installer able to create the package(s) we need to accomplish for mentioned?
Bogdan
Posts: 2794
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Repackage Capture

Hi Dan and welcome to our forums,
Uninstall a program (Cisco communicator)
This is very simple, just go to Upgrades page and add the MSI in the list, using the New button. This will make the new project created in
Advanced Installer to automatically remove this version of Cisco communicator, if found on the machine.

You don't need to use the repackager for this step.
Remove a Registry Key for an IE Kiosk
For this go to Registry page and add a "Registry Removal", using the options from our toolbar.
Disable IIS or enable it to only start up manually
We don't have direct support for this. What you can do is to create a custom DLL, which handles the desired operations over the IIS server, which you can call using the custom actions support we have in Advanced Installer.
Install LYNC Client
I assume this is a different setup package? If so, you can easily install it by adding it as a prerequisite to your main package, from Prerequisites page.
Installing LYNC certificates and host file
Can you give me more details on this? What steps would you had to perform for manually installing the certificates? So I can see if there is a support from Advanced
Installer which can be used to help you accomplish this.
Enable registry setting for LYNC to run suppressed mode
To create new registry entries from your package just go to Registry page and add them under the desired hive.
Install custom App for LYNC ( a custom Kiosk)
Just as I said above, you can use the prerequisites support.
Make Register changes
Do you mean "registry changes"? If yes, you can use the already mention Registry page, if not can you please give me more details.

If you have other questions please let me know.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Danmcm
Posts: 6
Joined: Thu Jun 21, 2012 11:14 pm
Location: Columbus, Ohio
Contact: Yahoo Messenger

Re: Repackage Capture

Bogdan, thank you for your help, but my problems continue...
Following the directions about the uninstall for the Cisco communicator, we started in Enterprise mode, then went into the upgrades on the left side panel, select the communicator for the capture the wasn't a true Uninstall option. I checked the box for "custom AI upgrades" and unchecked "use original install path". I then went into the registry and removed the Kiosk that was referenced before. We ran the build, and tested the MSI. From the test, the Kiosk was removed from the test, but the communicator was not. Is the capture process not catching the uninstall? Is there a step by step uninstall for Enterprise?
Bogdan
Posts: 2794
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Repackage Capture

Hi Dan,

Maybe I don't understand you correctly, if so please do correct me. From what you said in your last post I still understood that you repackaged the uninstall process of the comunicator, which is NOT needed.

My indications to remove it are like this:
-- create a new Enterprise project for your application
-- go to Upgrades page and press the button "New" than select the MSI for the Cisco communicator, do not change other settings from here

Now, when the package generated by this project will install it should remove the communicator.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Danmcm
Posts: 6
Joined: Thu Jun 21, 2012 11:14 pm
Location: Columbus, Ohio
Contact: Yahoo Messenger

Re: Repackage Capture

Bogdan,
I’m not quite sure why that worked the way it did. The important thing is that uninstalling the Cisco communicator finally worked, Thank you! Now I have the other steps of removing the Kiosk through the registry. For that I opened the same AIP. I went to the Registry option on the left side, imported the registry key, and then clicked Value Remove for the string we wanted removed. I saved the AIP, and then built the MSI. I then tested the MSI on a different machine. The Cisco box was still removed, but the Kisok still came up. Did I miss a step again?
Bogdan
Posts: 2794
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Repackage Capture

Hi Dan,
but the Kisok still came up. Did I miss a step again?
I am not sure on that, but of you can send me the aip file and a verbose log of the install I can look over them. Our support e-mail address is support at advancedinstaller dot com.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Danmcm
Posts: 6
Joined: Thu Jun 21, 2012 11:14 pm
Location: Columbus, Ohio
Contact: Yahoo Messenger

Re: Repackage Capture

I'm trying add Microsoft Lync 2010 to our devices, I used the prerequisites resource like instructed in the above thread. I moved the EXE. into the "Pre-install" folder. a message popped up in the corner, "EXE Bootstapper Pre-install prerequisites or the last prerequisite option you selected require an EXE bootstrapper. The Single EXE setup (resource inside) was selected in Configuration tab from Media page." I'm sorry, I'm not quite sure what it's asking me to do?
Bogdan
Posts: 2794
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Repackage Capture

Hi Dan,

That is just an informative message, notifying you that this option was enabled automatically. You don't need to do anything else.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Danmcm
Posts: 6
Joined: Thu Jun 21, 2012 11:14 pm
Location: Columbus, Ohio
Contact: Yahoo Messenger

Re: Repackage Capture

So I saved the package and ran it... the installed errored out and didn't install LYNC. the first message I got was "the setup has determined some of the Prerequisites needed to run this program are missing. This Wizard will assist you in gettung and installing those prerequisites." I clicked next, and got the message of "Microsoft Lync 2010 must be installed by running the approopiate Lync Setup Executable... Again, what am I doing wrong?
Bogdan
Posts: 2794
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Repackage Capture

Our bootstrapper is trying to launch the setup of your prerequisite but it seems you have specified an incorrect setup file. The message "Microsoft Lync 2010 must be installed by running the appropriate Lync Setup Executable... " is not given by us, but by your prerequisite setup file which we simply launch.

Please make sure you have specified the correct setup files in Setup Files tab for the prerequisite and also added any required resources in the Additional Files group from the same tab.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Danmcm
Posts: 6
Joined: Thu Jun 21, 2012 11:14 pm
Location: Columbus, Ohio
Contact: Yahoo Messenger

Re: Repackage Capture

Bogdan,

I have gotten through the items previously mentioned, and now am running into issues installing a security certificate. The file is a .cer file the generally is imported through the Windows Certificate Manager, through Group Policy, or utilizing the CERTUTIL.EXE command line. I need to be able to install this through my installer package. Is there anyway with Advanced Installer to handle this? Please let me know if you need further details.
Bogdan
Posts: 2794
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Repackage Capture

Hi Dan,

The following article explains how you can use Advanced Installer to configure your package for deploying the certificate.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”