VMware Cloud Community
zootsuitjeff
Enthusiast
Enthusiast
Jump to solution

Accessing some Text during initialization phase of the Installer

I am trying to post a notice with a block of text right after the welcome but before the license agreement.  I have this working as I want using a parameterGroup/infoParameter and using <insertAfter>welcome</insertAfter>, the only problem is that i am reading the textfile from my local filesystem, not from within the installer, so of course it won't work on another system.

How can i set a text variable that can be used by the installer either during the build phase, or access a text file that is part of the distribution well before components are loaded?  This needs to accessed well before the components are selected, before the license agreement is accepted. i don't see any way to add a file out side of the components.    setting an installer variable during the build process doesn't work, since the variable is not still defined when im running the installer.  i could imagine embedding the text in the xml would work, but it is too long and may need to be updated separately, so that i not desirable.  how can this be achieved? 

Labels (1)
0 Kudos
1 Solution

Accepted Solutions
zootsuitjeff
Enthusiast
Enthusiast
Jump to solution

Hey actually I answered my own question.  The action i needed was <unpackFile>.  it lets me pull a specific file out of a component before the component is installed.  I had thought it was just for downloadable components.

View solution in original post

0 Kudos
2 Replies
zootsuitjeff
Enthusiast
Enthusiast
Jump to solution

Hey actually I answered my own question.  The action i needed was <unpackFile>.  it lets me pull a specific file out of a component before the component is installed.  I had thought it was just for downloadable components.

0 Kudos
michieldhont
VMware Employee
VMware Employee
Jump to solution

Hi zootsuitjeff​,

I'm glad to hear you found the solution.

Regards,

Michiel

0 Kudos