VMware Cloud Community
AnonymousDefaul
Enthusiast
Enthusiast

Install Logs

I have an upgrade installer, and I don't have anything packed or unpacked. I just have the installer copy files from one folder to another. But for some reason, the install logs do not log that information in. If I did pack files, it would show up in the logs. So how do I log in steps in the installer for when I am just copying or removing files in a folder location? Thanks! 

Labels (1)
0 Kudos
3 Replies
michiel_dhont
Enthusiast
Enthusiast

Hi Anthony,

You can add a <logMessage> action after each action to write it to the logs.

Regards,

Michiel

0 Kudos
AnonymousDefaul
Enthusiast
Enthusiast

Hi Michiel,

So say like I finish copying from one folder to another and then I add the <logmessage>....how would I write like  or ' copied FILENAME (the actual filename) to FOLDERLOCATION (which would be like C:/Users/documents/ops/installdir)

0 Kudos
michiel_dhont
Enthusiast
Enthusiast

Hi Anthony,

Unfortunately it's not possible to log the filenames individually unless you add the logMessages manually per file. This detailed logging only happens automatically during the actual unpacking of packed files inside a <folder> directive.

Regards,
Michiel

0 Kudos