mikegillow
Pilgrim

Automation interface - upgrading project?

How do I upgrade an InstallScript MSI project in an automated build process when InstallShield gets upgraded?

I have an InstallScript MSI project. I use the automation interface to update the project file before calling ISCmdBld. I recently applied SP1 for IS2010. That requires my ISM file to be upgraded - OpenProject returns an error 1101. But the only info I have found for upgrading a project with a commandline tool is the -u switch for ISCmdBld which is flagged as "Basic MSI only".

Am I missing something?
Labels (1)
0 Kudos
1 Reply
hidenori
Pilgrim

Re: Automation interface - upgrading project?

Please try the undocumented method, ISWiProject.ForceUpgrade(strISWiProjectFile As String) As Long.

Hope that helps.
0 Kudos