Forum Discussion

Magger777's avatar
Magger777
Copper Contributor
Feb 09, 2023

Issues with WIN32APP USER Installation behavior

Hello everyone,

 

whenever I set the installation behavior of an WIN32APP to user it won't start and sets it to "Not Applicable".

I wanted to copy files to %APPDATA% thats why i choose USER.

 

Any suggestions on what I'am doing wrong?

If I can provide any information lets me know.

    • Magger777's avatar
      Magger777
      Copper Contributor

       

      Rudy_Ooms_MVP 

      1. This is the Script I like to install:

      copy "File.ttf" "C:\Users\%username%\APPDATA\Roaming\Microsoft\Templates"
      copy "Normal.dot" "C:\Users\%username%\APPDATA\Roaming\Microsoft\Templates"
      copy "Normal.dotm" "C:\Users\%username%\APPDATA\Roaming\Microsoft\Templates"

      2. 

       

      3. 

       

      • Ï assume that script is just a install.cmd script or something like it?

        What happens when changing the copy to part to %appdata%\microsoft\templates" instead of using %username% in it.

Resources