This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- More Information
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 22, 2009
01:02 PM
Desktop-to-Device Upgrade Missing Device Packages
I have an IS12 Basic MSI project that installs desktop files as well as files for two different kinds of devices. Each device type is its own feature so users don't need to install files for hardware they don't have. The files for each device are named identically, but compiled for different mobile operating system versions. IS12 creates the CAB files when the project is built.
I also added conditions to the InstallExecuteSequence table in IS12 so ActiveSync wouldn't pop up when neither device feature was being installed. For InstallCEApps this looked like
I let IS2010 convert the project. Now I can't get the device files to install at all; not direct to a connected device and not on the desktop (not available in ActiveSync). The log file (attached) contains lines like--
My custom InstallExecuteSequence conditions are also missing and replaced with
I noticed IS12 created a project folder called CEApps that has two folders with CAB files in them. 2010 seems to be doing it all in a tmp file that I can't check afterwards?
Any suggestions on what's causing this problem?
Thanks.
Michelle
I also added conditions to the InstallExecuteSequence table in IS12 so ActiveSync wouldn't pop up when neither device feature was being installed. For InstallCEApps this looked like
&Device1=3 Or &Device2=3and for RemoveCEApps it was
!Device1=3 Or !Device2=3
I let IS2010 convert the project. Now I can't get the device files to install at all; not direct to a connected device and not on the desktop (not available in ActiveSync). The log file (attached) contains lines like--
1: InstallShield Windows Mobile Runtime Info: LoadCeAppMgrCmdLine
1: InstallShield Windows Mobile Runtime Info: GetValueFromIniFile with section 'GlobalOptions', keyword 'CeAppMgrCmdLine', and default value ''.
1: InstallShield Windows Mobile Runtime Info: No information found with section 'GlobalOptions' and keyword 'CeAppMgrCmdLine' in ini file 'C:\DOCUME~1\MICHEL~1\LOCALS~1\Temp\ini127.tmp'
...
1: InstallShield Windows Mobile Runtime Info: Entering InstallCEApps
1: InstallShield Windows Mobile Runtime Info: CTouchPoint::Initialize
1: InstallShield Windows Mobile Runtime Info: CIniLoader::FillPropertyBag
1: InstallShield Windows Mobile Runtime Info: LoadCeAppMgrPath
1: InstallShield Windows Mobile Runtime Info: GetValueFromIniFile with section 'GlobalOptions', keyword 'CeAppMgrPath', and default value ''.
1: InstallShield Windows Mobile Runtime Info: LoadCeAppMgrCmdLine
1: InstallShield Windows Mobile Runtime Info: GetValueFromIniFile with section 'GlobalOptions', keyword 'CeAppMgrCmdLine', and default value ''.
1: InstallShield Windows Mobile Runtime Info: No information found with section 'GlobalOptions' and keyword 'CeAppMgrCmdLine' in ini file 'C:\DOCUME~1\MICHEL~1\LOCALS~1\Temp\ini127.tmp'
1: InstallShield Windows Mobile Runtime Info: CTouchPoint::DoInstall
1: InstallShield Windows Mobile Runtime Info: Initialize
1: InstallShield Windows Mobile Runtime Info: Launch CEAppMgr.exe to allow user to intall apps to mobile device.
1: InstallShield Windows Mobile Runtime Info: RunCabWiz
1: InstallShield Windows Mobile Runtime Info: No command line, nothing to install, so skip CEAppMgr launch.
My custom InstallExecuteSequence conditions are also missing and replaced with
Privileged=1 And REMOVE<>"ALL"and
Privileged=1 And Installedrespectively. Trying to put mine back in so far has only made things worse.
I noticed IS12 created a project folder called CEApps that has two folders with CAB files in them. 2010 seems to be doing it all in a tmp file that I can't check afterwards?
Any suggestions on what's causing this problem?
Thanks.
Michelle
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 22, 2009
04:13 PM
I started a new project in IS2010 that just had my two device features plus one desktop file. I did not try to add my custom CE install conditions. I compared the Build logs, and the project that was upgraded is missing the following steps after "Embedding manifest SetupExe.Admin.manifest into setup.exe":
And I see my new project does create the CEApps folder that I would also get from IS12.
So whatever is needed to get "Building Windows Mobile Application(s)..." started seems to have been broken during the upgrade.
The new test install worked great, correctly identifying which kind of device was installed (the reason for my upgrade). If I did not install either device feature, it didn't bug me with ActiveSync, so I'm hoping I won't need those custom conditions anymore.
--Michelle
Building Windows Mobile Application(s)...
Analyzing data in Application "App for CE 5"...
Creating INF file for Application "App for CE 5"...
Building CAB files for Application "App for CE 5"...
Adding CAB files for Application "App for CE 5" to Binary table...
Analyzing data in Application "App for Windows Mobile 6"...
Creating INF file for Application "App for Windows Mobile 6"...
Building CAB files for Application "App for Windows Mobile 6"...
Adding CAB files for Application "App for Windows Mobile 6" to Binary table...
And I see my new project does create the CEApps folder that I would also get from IS12.
So whatever is needed to get "Building Windows Mobile Application(s)..." started seems to have been broken during the upgrade.
The new test install worked great, correctly identifying which kind of device was installed (the reason for my upgrade). If I did not install either device feature, it didn't bug me with ActiveSync, so I'm hoping I won't need those custom conditions anymore.
--Michelle
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 22, 2009
06:43 PM
Taking a cue from another post, I checked the execute sequence order of the CE custom actions. The upgrade had things moved around. Instead of RemoveCEApps (3502), RemoveCEAppsDesktop (3503), ..., InstallCEAppsDesktop (4001), InstallCEApps (4002), the upgraded project had them as InstallCEAppsDesktop (4001), RemoveCEApps (4002), InstallCEApps (4003), RemoveCEAppsDesktop (4004).
But changing the sequence number in the upgraded project still didn't get my CABs built. I'm not sure which did the trick (or if both did), but I also changed Locked-Down Permissions (General Information) to Custom InstallShield handling (the new project's default) and got rid of a Release flag I had on one of the device features (and in the Release Build tab).
With all that, my full upgraded project now works. No custom conditions in the Direct Editor needed.
But changing the sequence number in the upgraded project still didn't get my CABs built. I'm not sure which did the trick (or if both did), but I also changed Locked-Down Permissions (General Information) to Custom InstallShield handling (the new project's default) and got rid of a Release flag I had on one of the device features (and in the Release Build tab).
With all that, my full upgraded project now works. No custom conditions in the Direct Editor needed.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 05, 2010
06:39 PM
Tried adding a new release to my project configuration. I want a CD build that would include the full .NET prerequisite. I already had a single Setup.exe release that goes out to the Internet to install .NET. The former is for the occasional customer that doesn't have Internet access. The latter I want smaller so it can be easily downloaded from our web site.
I tried to use release flags to select the right .NET installer for each release. That broke the setup build again. My Mobile Device CABs are not being built at all, even though the CAB files for my desktop files are.
Is there some other way I can do this without Release Flags? Or am I going to have to have two copies of my project for the two releases with the two .NET installers?
I tried to use release flags to select the right .NET installer for each release. That broke the setup build again. My Mobile Device CABs are not being built at all, even though the CAB files for my desktop files are.
Is there some other way I can do this without Release Flags? Or am I going to have to have two copies of my project for the two releases with the two .NET installers?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 17, 2010
12:54 PM
I created a separate Product Configuration for the standalone CD build. Then I set different release flags in the two Product Configurations. That worked; my mobile device CAB's were built and the right .NET installer was included for each setup.
So,...
I cannot use release flags at the Release level (below Product Configuration) with mobile device projects. But I can use release flags at the Product Configuration level.
So,...
I cannot use release flags at the Release level (below Product Configuration) with mobile device projects. But I can use release flags at the Product Configuration level.
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)