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

"ResolveSource" in silent install


7 replies to this topic

nicole

nicole
  • Members
  • 7 posts

Posted 20 March 2006 - 09:37

Hi ,

In my insall script and Custom Acions use property"SourceDir". "SourceDir" is determined by ResolveSource Aciton.But "ResolveSource" is only in UI sequence. I know the UI events don't get executed in a silent install. Can I add "ResolveSource" to the Execute sequence? If not,what can I do to let SourceDir be avaiable?


nicole

nicole
  • Members
  • 7 posts

Posted 20 March 2006 - 09:42

Sorry for missing something. I want to use silent install in command line .

Glytzhkof

Glytzhkof
  • Moderators
  • 1,447 posts

Posted 20 March 2006 - 21:53

I have done this before and did not experience any problems doing it. As specified in the SDK the ResolveSource action has to come after the CostInitialize action.
Regards
-Stein Åsmul

luke_s

luke_s
  • Full Members
  • 532 posts

Posted 20 March 2006 - 22:47

Glytzhof is correct, I do this in my installer as well.

I also have the condition "NOT REMOVE" on the action so it does not run for uninstalls.

nicole

nicole
  • Members
  • 7 posts

Posted 22 March 2006 - 10:49

Thanks for Glytzhkof and luke_s.

I have another solution.To add this sourcedir into INI one file.And use Function GetProfString before I use "soucedir".It can work normally.I don't know it is the correct solution.

nicole

nicole
  • Members
  • 7 posts

Posted 22 March 2006 - 10:51

And in silent install , UI sequence will not run. But in Execute install there is no "resolvesource".
I am a learner .Perhaps the questions is naive. biggrin.gif

grisdeya

grisdeya
  • Members
  • 11 posts

Posted 11 May 2006 - 00:00

ohmy.gif ...

condition ---> "\q"

rolleyes.gif

grisdeya

grisdeya
  • Members
  • 11 posts

Posted 11 May 2006 - 00:20

ohmy.gif ...

condition ---> "\q"

rolleyes.gif