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?
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.
"ResolveSource" in silent install
Started by
nicole
, Mar 20 2006 09:37
7 replies to this topic
Posted 20 March 2006 - 09:42
Sorry for missing something. I want to use silent install in command line .
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
-Stein Åsmul
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.
I also have the condition "NOT REMOVE" on the action so it does not run for uninstalls.
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.
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.
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.
I am a learner .Perhaps the questions is naive.