The Kinetic Jump site navigation header requires JavaScript to be enabled and the latest version of the Macromedia Flash Player. If you are you using a browser with JavaScript disabled please enable it now. Otherwise, please update your version of the free Flash Player by downloading here.

Welcome Guest Search | Active Topics | Log In | Register

Can I change the update type? Options
mel5u
#1 Posted : Tuesday, July 29, 2008 9:12:41 AM
Rank: Member
Groups: Member

Joined: 7/29/2008
Posts: 10
I created an update project using the AppLife Update action list project. I was using this for doing incremental updates (changing the exe using the Add & replace files (version 1.0.0.0 to 1.0.0.1, etc)).

I'd like to now release a 2.0 version of the application using a windows installer.

What's the best way to do this, with the ability to then go back to using incremental updates for version 2.0 (2.0.0.0 to 2.0.0.1, etc)?
brianh
#2 Posted : Wednesday, July 30, 2008 4:47:23 AM
Rank: Administration
Groups: Member, Administration

Joined: 5/24/2007
Posts: 405
Location: Minnesota

Hello,

 

You can create an update that updates your 1.x version to version 2.0 using update actions, while distributing your new msi to new clients.

 

If you are not using the AppLife Update Windows Service for elevation OR your msi can be run silently (using msiexec and the /q switch), you can utilize the custom action located here to distribute and run your new 2.0 msi within an update.

Brian Haas
Kinetic Jump Software
mel5u
#3 Posted : Monday, August 11, 2008 5:46:19 AM
Rank: Member
Groups: Member

Joined: 7/29/2008
Posts: 10
I've tried to run the update from the example in your link, but I'm having some problems.

I would like to use the service to update the application (to work with Vista). 

When I run the update I get an error that the update failed.  Details : "Msiexec.exe execution failed with exit code 1619"

Is there something else I need to do?
brianh
#4 Posted : Monday, August 11, 2008 9:39:38 AM
Rank: Administration
Groups: Member, Administration

Joined: 5/24/2007
Posts: 405
Location: Minnesota

If you have followed the example then your update should be working.  That error code indicates that the msi could not be found.  Are you placing the msi into the Update Package Directory before the msi action?

Brian Haas
Kinetic Jump Software
mel5u
#5 Posted : Monday, August 11, 2008 10:44:44 AM
Rank: Member
Groups: Member

Joined: 7/29/2008
Posts: 10
the steps I have in the AppLife Update app are
1. Set Shared Properties
2. Add & replace files in <Update Package Directory>
  - my msi is added here (PlaygroundSetup.msi)
3. Execute Msi
msiexec command Line : /i "$UpdatePackageDirectory$\PlagroundSetup.msi" /quiet
rollback msiexec Command Line: /uninstall "$UpdatePackageDirectory$\PlaygroundSetup.msi" /quiet
brianh
#6 Posted : Monday, August 11, 2008 12:18:00 PM
Rank: Administration
Groups: Member, Administration

Joined: 5/24/2007
Posts: 405
Location: Minnesota

Can you place your msi in a local folder and then from a command line type:

 

msiexec.exe /i "yourlocalfolderpath\PlaygroundSetup.msi" /quiet

 

and have your setup successfully execute?

 

If so, does your update execute if you do not use the Service?  You can prevent the service by setting AllowElevatedPrivileges property to false.

 

And finally, try logging the msi execution to see if we can figure out what is wrong.  To do so add another shared property using the Set Shared Property action and select ApplicationDirectory property.  Then add to the msiexec command line the logging switch.   /l "$ApplicationDirectory$\msilog.txt"

Brian Haas
Kinetic Jump Software
mel5u
#7 Posted : Tuesday, August 12, 2008 4:00:26 AM
Rank: Member
Groups: Member

Joined: 7/29/2008
Posts: 10
when I run msiexec.exe /i PlaygroundSetup.msi /quiet (out of the folder it's located in), I get no feedback good or bad, so I ran the msi without the /quiet option and got this message:

"Another version of this product is alread installed.  Installation of this version cannot continue.  To configure or remove the existing version of this product, use Add/Remove Programs on the Control Panel."

I built the msi with the RevomvePerviousVersions = True. 
brianh
#8 Posted : Tuesday, August 12, 2008 11:38:54 AM
Rank: Administration
Groups: Member, Administration

Joined: 5/24/2007
Posts: 405
Location: Minnesota

Did you change the MSI version when you builit it?  I dont have any advice on your msi, except perhaps to look into product codes and configuring major and minor upgrades.  Once you accomplish successful updating directly with msiexec, packaging and distributing the msi with AppLife Update should work without issue.

Brian Haas
Kinetic Jump Software
mel5u
#9 Posted : Friday, August 15, 2008 6:08:59 AM
Rank: Member
Groups: Member

Joined: 7/29/2008
Posts: 10
I've updated the MSI versions and I am still getting the same error.

I am able to run the installer from the command line and it updates successfully.

I added the log switch to the applife msiexec command line, and although the file is created in the app directory, it is empty.

Here is the content of the logfile when i run from the command line locally:

=== Logging started: 8/15/2008  11:04:14 ===
Action start 11:04:14: INSTALL.
Action start 11:04:14: CommonFilesFolder.4D02145D_5F2B_40A9_A781_73346C9710A6.
Action ended 11:04:14: CommonFilesFolder.4D02145D_5F2B_40A9_A781_73346C9710A6. Return value 1.
Action start 11:04:14: DIRCA_CheckFX.
Action ended 11:04:15: DIRCA_CheckFX. Return value 1.
Action start 11:04:15: AppSearch.
Action ended 11:04:15: AppSearch. Return value 1.
Action start 11:04:15: FindRelatedProducts.
Action ended 11:04:15: FindRelatedProducts. Return value 1.
Action start 11:04:15: VSDCA_VsdLaunchConditions.
Action ended 11:04:15: VSDCA_VsdLaunchConditions. Return value 1.
Action start 11:04:15: LaunchConditions.
Action ended 11:04:15: LaunchConditions. Return value 1.
Action start 11:04:15: CCPSearch.
Action ended 11:04:15: CCPSearch. Return value 1.
Action start 11:04:15: RMCCPSearch.
Action ended 11:04:15: RMCCPSearch. Return value 0.
Action start 11:04:15: ValidateProductID.
Action ended 11:04:15: ValidateProductID. Return value 1.
Action start 11:04:15: DIRCA_TARGETDIR.
Action ended 11:04:15: DIRCA_TARGETDIR. Return value 1.
Action start 11:04:15: CostInitialize.
Action ended 11:04:15: CostInitialize. Return value 1.
Action start 11:04:15: FileCost.
Action ended 11:04:15: FileCost. Return value 1.
Action start 11:04:15: IsolateComponents.
Action ended 11:04:15: IsolateComponents. Return value 1.
Action start 11:04:15: CostFinalize.
Action ended 11:04:15: CostFinalize. Return value 1.
Action start 11:04:15: SetODBCFolders.
Action ended 11:04:15: SetODBCFolders. Return value 1.
Action start 11:04:15: InstallValidate.
Action ended 11:04:15: InstallValidate. Return value 1.
Action start 11:04:15: InstallInitialize.
Action ended 11:04:15: InstallInitialize. Return value 1.
Action start 11:04:15: RemoveExistingProducts.
Action start 11:04:15: INSTALL.
Action start 11:04:15: CommonFilesFolder.4D02145D_5F2B_40A9_A781_73346C9710A6.
Action ended 11:04:15: CommonFilesFolder.4D02145D_5F2B_40A9_A781_73346C9710A6. Return value 1.
Action start 11:04:15: DIRCA_CheckFX.
Action ended 11:04:15: DIRCA_CheckFX. Return value 1.
Action start 11:04:15: AppSearch.
Action ended 11:04:15: AppSearch. Return value 1.
Action start 11:04:15: FindRelatedProducts.
Action ended 11:04:15: FindRelatedProducts. Return value 0.
Action start 11:04:15: ValidateProductID.
Action ended 11:04:15: ValidateProductID. Return value 1.
Action start 11:04:15: DIRCA_TARGETDIR.
Action ended 11:04:15: DIRCA_TARGETDIR. Return value 1.
Action start 11:04:15: CostInitialize.
Action ended 11:04:15: CostInitialize. Return value 1.
Action start 11:04:15: FileCost.
Action ended 11:04:15: FileCost. Return value 1.
Action start 11:04:15: IsolateComponents.
Action ended 11:04:15: IsolateComponents. Return value 1.
Action start 11:04:15: CostFinalize.
Action ended 11:04:15: CostFinalize. Return value 1.
Action start 11:04:15: InstallValidate.
Info 1603. The file C:\Program Files\Common Files\AppLifeUpdateService\Kjs.AppLife.Update.Service.Exe is being held in use by the following process: Name: Kjs.AppLife.Update.Service, Id: 3104, Window Title: '(not determined yet)'.  Close that application and retry.
Info 1603. The file C:\Program Files\Common Files\AppLifeUpdateService\Kjs.AppLife.Update.Service.Core.dll is being held in use by the following process: Name: Kjs.AppLife.Update.Service, Id: 3104, Window Title: '(not determined yet)'.  Close that application and retry.
Action ended 11:04:19: InstallValidate. Return value 1.
Action start 11:04:19: InstallInitialize.
Action ended 11:04:19: InstallInitialize. Return value 1.
Action start 11:04:19: RemoveExistingProducts.
Action ended 11:04:19: RemoveExistingProducts. Return value 0.
Action start 11:04:19: ProcessComponents.
Action ended 11:04:19: ProcessComponents. Return value 1.
Action start 11:04:19: MsiUnpublishAssemblies.
Action ended 11:04:19: MsiUnpublishAssemblies. Return value 1.
Action start 11:04:19: UnpublishComponents.
Action ended 11:04:19: UnpublishComponents. Return value 1.
Action start 11:04:19: UnpublishFeatures.
Action ended 11:04:19: UnpublishFeatures. Return value 1.
Action start 11:04:19: StopServices.
Action ended 11:04:19: StopServices. Return value 1.
Action start 11:04:19: DeleteServices.
Action ended 11:04:19: DeleteServices. Return value 1.
Action start 11:04:19: UnregisterComPlus.
Action ended 11:04:19: UnregisterComPlus. Return value 1.
Action start 11:04:19: SelfUnregModules.
Action ended 11:04:19: SelfUnregModules. Return value 1.
Action start 11:04:19: UnregisterTypeLibraries.
Action ended 11:04:19: UnregisterTypeLibraries. Return value 1.
Action start 11:04:19: RemoveODBC.
Action ended 11:04:19: RemoveODBC. Return value 1.
Action start 11:04:19: UnregisterFonts.
Action ended 11:04:19: UnregisterFonts. Return value 1.
Action start 11:04:19: RemoveRegistryValues.
Action ended 11:04:19: RemoveRegistryValues. Return value 1.
Action start 11:04:19: UnregisterClassInfo.
Action ended 11:04:19: UnregisterClassInfo. Return value 1.
Action start 11:04:19: UnregisterExtensionInfo.
Action ended 11:04:19: UnregisterExtensionInfo. Return value 1.
Action start 11:04:19: UnregisterProgIdInfo.
Action ended 11:04:19: UnregisterProgIdInfo. Return value 1.
Action start 11:04:19: UnregisterMIMEInfo.
Action ended 11:04:19: UnregisterMIMEInfo. Return value 1.
Action start 11:04:19: RemoveIniValues.
Action ended 11:04:19: RemoveIniValues. Return value 1.
Action start 11:04:19: RemoveShortcuts.
Action ended 11:04:19: RemoveShortcuts. Return value 1.
Action start 11:04:19: RemoveEnvironmentStrings.
Action ended 11:04:19: RemoveEnvironmentStrings. Return value 1.
Action start 11:04:19: RemoveDuplicateFiles.
Action ended 11:04:19: RemoveDuplicateFiles. Return value 1.
Action start 11:04:19: RemoveFiles.
Action ended 11:04:19: RemoveFiles. Return value 1.
Action start 11:04:19: RemoveFolders.
Action ended 11:04:19: RemoveFolders. Return value 1.
Action start 11:04:19: CreateFolders.
Action ended 11:04:19: CreateFolders. Return value 1.
Action start 11:04:19: MoveFiles.
Action ended 11:04:19: MoveFiles. Return value 1.
Action start 11:04:19: InstallFiles.
Action ended 11:04:19: InstallFiles. Return value 1.
Action start 11:04:19: PatchFiles.
Action ended 11:04:19: PatchFiles. Return value 1.
Action start 11:04:19: DuplicateFiles.
Action ended 11:04:19: DuplicateFiles. Return value 1.
Action start 11:04:19: BindImage.
Action ended 11:04:19: BindImage. Return value 1.
Action start 11:04:19: CreateShortcuts.
Action ended 11:04:19: CreateShortcuts. Return value 1.
Action start 11:04:19: RegisterClassInfo.
Action ended 11:04:19: RegisterClassInfo. Return value 1.
Action start 11:04:19: RegisterExtensionInfo.
Action ended 11:04:19: RegisterExtensionInfo. Return value 1.
Action start 11:04:19: RegisterProgIdInfo.
Action ended 11:04:19: RegisterProgIdInfo. Return value 1.
Action start 11:04:19: RegisterMIMEInfo.
Action ended 11:04:19: RegisterMIMEInfo. Return value 1.
Action start 11:04:19: WriteRegistryValues.
Action ended 11:04:19: WriteRegistryValues. Return value 1.
Action start 11:04:19: WriteIniValues.
Action ended 11:04:19: WriteIniValues. Return value 1.
Action start 11:04:19: WriteEnvironmentStrings.
Action ended 11:04:19: WriteEnvironmentStrings. Return value 1.
Action start 11:04:19: RegisterFonts.
Action ended 11:04:19: RegisterFonts. Return value 1.
Action start 11:04:19: InstallODBC.
Action ended 11:04:19: InstallODBC. Return value 0.
Action start 11:04:19: RegisterTypeLibraries.
Action ended 11:04:19: RegisterTypeLibraries. Return value 1.
Action start 11:04:19: SelfRegModules.
Action ended 11:04:19: SelfRegModules. Return value 1.
Action start 11:04:19: RegisterComPlus.
Action ended 11:04:19: RegisterComPlus. Return value 1.
Action start 11:04:19: InstallServices.
Action ended 11:04:19: InstallServices. Return value 1.
Action start 11:04:19: StartServices.
Action ended 11:04:19: StartServices. Return value 1.
Action start 11:04:19: RegisterUser.
Action ended 11:04:19: RegisterUser. Return value 0.
Action start 11:04:19: RegisterProduct.
Action ended 11:04:19: RegisterProduct. Return value 1.
Action start 11:04:19: PublishComponents.
Action ended 11:04:19: PublishComponents. Return value 1.
Action start 11:04:19: MsiPublishAssemblies.
Action ended 11:04:19: MsiPublishAssemblies. Return value 1.
Action start 11:04:19: PublishFeatures.
Action ended 11:04:19: PublishFeatures. Return value 1.
Action start 11:04:19: PublishProduct.
Action ended 11:04:19: PublishProduct. Return value 1.
Action start 11:04:19: InstallFinalize.
Action ended 11:04:21: InstallFinalize. Return value 1.
Action ended 11:04:21: INSTALL. Return value 1.
Action ended 11:04:21: RemoveExistingProducts. Return value 1.
Action start 11:04:21: AllocateRegistrySpace.
Action ended 11:04:21: AllocateRegistrySpace. Return value 1.
Action start 11:04:21: ProcessComponents.
Action ended 11:04:21: ProcessComponents. Return value 1.
Action start 11:04:21: MsiUnpublishAssemblies.
Action ended 11:04:21: MsiUnpublishAssemblies. Return value 1.
Action start 11:04:21: UnpublishComponents.
Action ended 11:04:21: UnpublishComponents. Return value 1.
Action start 11:04:21: UnpublishFeatures.
Action ended 11:04:21: UnpublishFeatures. Return value 1.
Action start 11:04:21: StopServices.
Action ended 11:04:21: StopServices. Return value 1.
Action start 11:04:21: DeleteServices.
Action ended 11:04:21: DeleteServices. Return value 1.
Action start 11:04:21: UnregisterComPlus.
Action ended 11:04:21: UnregisterComPlus. Return value 1.
Action start 11:04:21: SelfUnregModules.
Action ended 11:04:21: SelfUnregModules. Return value 1.
Action start 11:04:21: UnregisterTypeLibraries.
Action ended 11:04:21: UnregisterTypeLibraries. Return value 1.
Action start 11:04:21: RemoveODBC.
Action ended 11:04:21: RemoveODBC. Return value 1.
Action start 11:04:21: UnregisterFonts.
Action ended 11:04:21: UnregisterFonts. Return value 1.
Action start 11:04:21: RemoveRegistryValues.
Action ended 11:04:21: RemoveRegistryValues. Return value 1.
Action start 11:04:21: UnregisterClassInfo.
Action ended 11:04:21: UnregisterClassInfo. Return value 1.
Action start 11:04:21: UnregisterExtensionInfo.
Action ended 11:04:21: UnregisterExtensionInfo. Return value 1.
Action start 11:04:21: UnregisterProgIdInfo.
Action ended 11:04:21: UnregisterProgIdInfo. Return value 1.
Action start 11:04:21: UnregisterMIMEInfo.
Action ended 11:04:21: UnregisterMIMEInfo. Return value 1.
Action start 11:04:21: RemoveIniValues.
Action ended 11:04:21: RemoveIniValues. Return value 1.
Action start 11:04:21: RemoveShortcuts.
Action ended 11:04:21: RemoveShortcuts. Return value 1.
Action start 11:04:21: RemoveEnvironmentStrings.
Action ended 11:04:21: RemoveEnvironmentStrings. Return value 1.
Action start 11:04:21: RemoveDuplicateFiles.
Action ended 11:04:21: RemoveDuplicateFiles. Return value 1.
Action start 11:04:21: RemoveFiles.
Action ended 11:04:21: RemoveFiles. Return value 1.
Action start 11:04:21: RemoveFolders.
Action ended 11:04:21: RemoveFolders. Return value 1.
Action start 11:04:21: CreateFolders.
Action ended 11:04:21: CreateFolders. Return value 1.
Action start 11:04:21: MoveFiles.
Action ended 11:04:21: MoveFiles. Return value 1.
Action start 11:04:21: InstallFiles.
Action ended 11:04:21: InstallFiles. Return value 1.
Action start 11:04:21: PatchFiles.
Action ended 11:04:21: PatchFiles. Return value 1.
Action start 11:04:21: DuplicateFiles.
Action ended 11:04:21: DuplicateFiles. Return value 1.
Action start 11:04:21: BindImage.
Action ended 11:04:21: BindImage. Return value 1.
Action start 11:04:21: CreateShortcuts.
Action ended 11:04:21: CreateShortcuts. Return value 1.
Action start 11:04:21: RegisterClassInfo.
Action ended 11:04:21: RegisterClassInfo. Return value 1.
Action start 11:04:21: RegisterExtensionInfo.
Action ended 11:04:21: RegisterExtensionInfo. Return value 1.
Action start 11:04:21: RegisterProgIdInfo.
Action ended 11:04:21: RegisterProgIdInfo. Return value 1.
Action start 11:04:21: RegisterMIMEInfo.
Action ended 11:04:21: RegisterMIMEInfo. Return value 1.
Action start 11:04:21: WriteRegistryValues.
Action ended 11:04:21: WriteRegistryValues. Return value 1.
Action start 11:04:21: WriteIniValues.
Action ended 11:04:21: WriteIniValues. Return value 1.
Action start 11:04:21: WriteEnvironmentStrings.
Action ended 11:04:21: WriteEnvironmentStrings. Return value 1.
Action start 11:04:21: RegisterFonts.
Action ended 11:04:21: RegisterFonts. Return value 1.
Action start 11:04:21: InstallODBC.
Action ended 11:04:21: InstallODBC. Return value 0.
Action start 11:04:21: RegisterTypeLibraries.
Action ended 11:04:21: RegisterTypeLibraries. Return value 1.
Action start 11:04:21: SelfRegModules.
Action ended 11:04:21: SelfRegModules. Return value 1.
Action start 11:04:21: RegisterComPlus.
Action ended 11:04:21: RegisterComPlus. Return value 1.
Action start 11:04:21: InstallServices.
Action ended 11:04:21: InstallServices. Return value 1.
Action start 11:04:21: StartServices.
Action ended 11:04:21: StartServices. Return value 1.
Action start 11:04:21: RegisterUser.
Action ended 11:04:21: RegisterUser. Return value 1.
Action start 11:04:21: RegisterProduct.
Action ended 11:04:21: RegisterProduct. Return value 1.
Action start 11:04:21: PublishComponents.
Action ended 11:04:21: PublishComponents. Return value 1.
Action start 11:04:21: MsiPublishAssemblies.
Action ended 11:04:21: MsiPublishAssemblies. Return value 1.
Action start 11:04:21: PublishFeatures.
Action ended 11:04:21: PublishFeatures. Return value 1.
Action start 11:04:21: PublishProduct.
Action ended 11:04:21: PublishProduct. Return value 1.
Action start 11:04:21: InstallFinalize.
Action ended 11:04:24: InstallFinalize. Return value 1.
Action ended 11:04:24: INSTALL. Return value 1.
MSI (s) (C4:94) [11:04:24:278]: Product: PlaygroundSetup -- Installation completed successfully.

=== Logging stopped: 8/15/2008  11:04:24 ===

brianh
#10 Posted : Monday, August 18, 2008 10:10:13 AM
Rank: Administration
Groups: Member, Administration

Joined: 5/24/2007
Posts: 405
Location: Minnesota
It looks like the msi is attempting to re-install the AppLife Update Service.  You can safely stop the service using the Stop Service action ahead of the msi action.  The service launches the update, but doesnt actually do the work. 
Brian Haas
Kinetic Jump Software
mel5u
#11 Posted : Wednesday, August 20, 2008 6:10:09 AM
Rank: Member
Groups: Member

Joined: 7/29/2008
Posts: 10
I tried stopping the service using the Stop service action (Service to stop: = KjsUpdateService).

I put the Stop service action as the first update action.  When I try to do the auto update I still get the 1619 error.
brianh
#12 Posted : Wednesday, August 20, 2008 7:26:23 AM
Rank: Administration
Groups: Member, Administration

Joined: 5/24/2007
Posts: 405
Location: Minnesota

Hello,

 

I can't tell what is going wrong.  I didnt first catch that the log file you added wasnt from an AppLife initiated update.

 

Error 1619 means that the msi package can not be found.  This could be related to the uninstall but I am not sure.

 

If you email your aup and perhaps your install to techsupport I will try and figure out what is going on.

Brian Haas
Kinetic Jump Software
mel5u
#13 Posted : Wednesday, August 20, 2008 7:43:06 AM
Rank: Member
Groups: Member

Joined: 7/29/2008
Posts: 10
I think I may have figured it out.  I think I had an old value in the Public Key for the AppLifeUpdateService merge module.

I created a new project, new setup, and new app life update and everything worked out fine.  MSI executed successfully and updated the app.

Thank-you for your help.
schmoli
#14 Posted : Thursday, February 16, 2012 7:56:33 AM
Rank: Member
Groups: Member

Joined: 2/9/2012
Posts: 1
Location: Anacortes, WA, USA, EARTH
I had the same issue when I was evaluating AppLife Updater, but only when using the service to install my Installshield 2011 Setup.exe project. Turns out the following:

I had my MSI set to cache the install, which I believe is not the default, but the default location is “[LocalAppDataFolder]Downloaded Installations”, which doesn't seem to work well when running as Local System, I ended up changing this to “[WindowsFolder]Installer” and everything worked fine.

Took me awhile to remember I had to do this years ago when using our own deployment package as well.

Users browsing this topic
Guest
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.