Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Unable to apply patch with .msp


2 replies to this topic

sriniv

sriniv
  • Members
  • 9 posts

Posted 17 May 2005 - 11:12

hi,

I have created "PatchConfiguration.msp" from the patch design view. while applying this patch following error occurs:

" This installation cannot be run by directly launching the MSI package.You must run setup.exe"

The above patch just includes one new file.

PatchCreation.log has a statement saying
"Patch API could not create a small patch; using whole upgraded file."

But the same patch when applied with update.exe works fine.
What could be the problem?. Can anyone help me on this?

thanks,
sriniv


Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 17 May 2005 - 16:38

"InstallScript MSI" projects can't be installed by directly running the .msi opr .msp file. They require setup.exe or update.exe in order to run your InstallScript.
Use "Basic MSI" instead to avoid this.

sriniv

sriniv
  • Members
  • 9 posts

Posted 17 May 2005 - 16:50

thanku stefan.
But mine is a huge project with lot of scripting, going back to "BASIC MSI" is practically impossible.
Is there any mechanism by which I can detect already installed patchs for the product
and the dependent patchs, for the patch being installed?.
I am using Installshield X.


regards,
sriniv