hi ,

For my company's environment i use wise packaging studio for repackaging. However the same has failed after multiple attempts. Script for the same is as follows.Please help me in pointing out the flaws in this or help me with a VB Script with which the same can be performed remotely:

item: Remark
  Text=++++++++++++++++++++++++++++WISE WRAPPER SCRIPT+++++++++++++++++++++++++++++++++++
end
item: Remark
  Text=++++++++++++++++++++++++++++Created by Rakesh++++++++++++++++++++++++++++++++++
end
item: Remark
  Text=++++++++++++++++++++++++++++Version 1.8+++++++++++++++++++++++++++++++++++++++++++++++
end
item: Remark
  Text=++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
end
item: Remark
end
item: Open/Close INSTALL.LOG
  Flags=00000001
end
item: Check if File/Dir Exists
  Pathname=%SYS%
  Flags=10000100
end
item: Set Variable
  Variable=SYS
  Value=%WIN%
end
item: End Block
end
item: Set Variable
  Variable=APPTITLE
  Value=%_APPNAME_%
  Flags=10000000
end
item: Set Variable
  Variable=GROUP
  Flags=10000000
end
item: Set Variable
  Variable=DISABLED
  Value=!
end
item: Set Variable
  Variable=MAINDIR
  Value=%MAINDIR%
  Flags=10000000
end
item: Remark
end
item: Remark
  Text=+++++  App GUID here  +++++
end
item: Set Variable
  Variable=GUID
  Value={PASTE GUID HERE}
  Flags=10000000
end
item: Remark
end
item: Remark
  Text=++++++++++++++++++++Set MSI name here+++++++++++++++++++++
end
item: Set Variable
  Variable=MSINAME
  Value=changemsiname
end
item: Remark
end
item: Remark
  Text=++++++++++++++++++++Set MST name here if using a transform+++++++++++++++++++++
end
item: Set Variable
  Variable=MST
  Value=changemstname
end
item: Remark
end
item: Remark
  Text=+++++++++++++++++++++Setting some standard variables+++++++++++++++++++++++++++++
end
item: Check Configuration
  Flags=10111011
end
item: Get Registry Key Value
  Variable=COMMON
  Key=SOFTWARE\Microsoft\Windows\CurrentVersion
  Default=C:\Program Files\Common Files
  Value Name=CommonFilesDir
  Flags=00000100
end
item: Get Registry Key Value
  Variable=PROGRAM_FILES
  Key=SOFTWARE\Microsoft\Windows\CurrentVersion
  Default=C:\Program Files
  Value Name=ProgramFilesDir
  Flags=00000100
end
item: Set Variable
  Variable=MAINDIR
  Value=%PROGRAM_FILES%\%MAINDIR%
  Flags=00001100
end
item: Set Variable
  Variable=EXPLORER
  Value=1
end
item: Else Statement
end
item: Set Variable
  Variable=MAINDIR
  Value=C:\%MAINDIR%
  Flags=00001100
end
item: End Block
end
item: Set Variable
  Variable=BACKUP
  Value=%MAINDIR%\BACKUP
  Flags=10000000
end
item: Set Variable
  Variable=DOBACKUP
  Value=B
  Flags=10000000
end
item: Set Variable
  Variable=COMPONENTS
  Flags=10000000
end
item: Set Variable
  Variable=BRANDING
  Value=0
end
item: If/While Statement
  Variable=BRANDING
  Value=1
end
item: Read INI Value
  Variable=NAME
  Pathname=%INST%\CUSTDATA.INI
  Section=Registration
  Item=Name
end
item: Read INI Value
  Variable=COMPANY
  Pathname=%INST%\CUSTDATA.INI
  Section=Registration
  Item=Company
end
item: If/While Statement
  Variable=NAME
end
item: Set Variable
  Variable=DOBRAND
  Value=1
end
item: Get System Information
  Variable=NAME
  Flags=00000110
end
item: Get System Information
  Variable=COMPANY
  Flags=00000111
end
item: End Block
end
item: End Block
end
item: If/While Statement
  Variable=DOBACKUP
  Value=A
end
item: Set Variable
  Variable=BACKUPDIR
  Value=%BACKUP%
end
item: End Block
end
item: If/While Statement
  Variable=BRANDING
  Value=1
end
item: If/While Statement
  Variable=DOBRAND
  Value=1
end
item: Edit INI File
  Pathname=%INST%\CUSTDATA.INI
  Settings=[Registration]
  Settings=NAME=%NAME%
  Settings=COMPANY=%COMPANY%
  Settings=
end
item: End Block
end
item: End Block
end
item: Open/Close INSTALL.LOG
end
item: Check Disk Space
  Component=COMPONENTS
end
item: Set Variable
  Variable=COMMON
  Value=%COMMON%
  Flags=00010100
end
item: Set Variable
  Variable=MAINDIR
  Value=%MAINDIR%
  Flags=00010100
end
item: Check Configuration
  Flags=10111011
end
item: Remark
  Text=+++  Current User's Startup Group +++
end
item: Get Registry Key Value
  Variable=STARTUPDIR
  Key=Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
  Value Name=StartUp
  Flags=00000010
end
item: Remark
  Text=+++  Current User's Desktop Folder +++
end
item: Get Registry Key Value
  Variable=DESKTOPDIR
  Key=Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
  Value Name=Desktop
  Flags=00000010
end
item: Remark
  Text=+++  Current User's Start Menu Folder +++
end
item: Get Registry Key Value
  Variable=STARTMENUDIR
  Key=Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
  Value Name=Start Menu
  Flags=00000010
end
item: Remark
  Text=+++  Current User's Programs Menu +++
end
item: Get Registry Key Value
  Variable=GROUPDIR
  Key=Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
  Value Name=Programs
  Flags=00000010
end
item: Remark
  Text=+++  Current User's My Docs Folder +++
end
item: Get Registry Key Value
  Variable=MYDOCS
  Key=Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
  Value Name=Personal
  Flags=00000010
end
item: Remark
  Text=+++  Current User's Favorites Folder +++
end
item: Get Registry Key Value
  Variable=FAVORITES
  Key=Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
  Value Name=Favorites
  Flags=00000010
end
item: Remark
  Text=+++  Current User's AppData Folder +++
end
item: Get Registry Key Value
  Variable=APPDATA
  Key=Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
  Value Name=AppData
  Flags=00000010
end
item: Remark
  Text=+++  Current User's Cookies Folder +++
end
item: Get Registry Key Value
  Variable=COOKIE
  Key=Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
  Value Name=Cookies
  Flags=00000010
end
item: Remark
  Text=+++  Current User's PrintHood Folder +++
end
item: Get Registry Key Value
  Variable=PRINTHD
  Key=Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
  Value Name=PrintHood
  Flags=00000010
end
item: Remark
  Text=+++  Current User's Local Settings Folder +++
end
item: Get Registry Key Value
  Variable=LOCSETTS
  Key=Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
  Value Name=Local Settings
  Flags=00000010
end
item: Remark
  Text=+++  Current User's Templates Folder +++
end
item: Get Registry Key Value
  Variable=TEMPLATE
  Key=Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
  Value Name=Templates
  Flags=00000010
end
item: Remark
  Text=+++  Current User's Local AppData Settings Folder +++
end
item: Get Registry Key Value
  Variable=LOCAPPDATA
  Key=Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
  Value Name=Local AppData
  Flags=00000010
end
item: Remark
end
item: Remark
  Text=+++  Common Variable Locations +++
end
item: Remark
  Text=+++  C:\Documents and Settings\All Users\Start Menu\Programs\Startup Folder +++
end
item: Get Registry Key Value
  Variable=CSTARTUPDIR
  Key=Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
  Default=%STARTUPDIR%
  Value Name=Common Startup
  Flags=00000100
end
item: Remark
end
item: Remark
  Text=+++  C:\Documents and Settings\All Users\Desktop Folder +++
end
item: Get Registry Key Value
  Variable=CDESKTOPDIR
  Key=Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
  Default=%DESKTOPDIR%
  Value Name=Common Desktop
  Flags=00000100
end
item: Remark
end
item: Remark
  Text=+++  C:\Documents and Settings\All Users\Start Menu Folder +++
end
item: Get Registry Key Value
  Variable=CSTARTMENUDIR
  Key=Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
  Default=%STARTMENUDIR%
  Value Name=Common Start Menu
  Flags=00000100
end
item: Remark
end
item: Remark
  Text=+++ C:\Documents and Settings\All Users\Start Menu\Programs Folder +++
end
item: Get Registry Key Value
  Variable=CGROUPDIR
  Key=Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
  Default=%GROUPDIR%
  Value Name=Common Programs
  Flags=00000100
end
item: Remark
end
item: Remark
  Text=+++  C:\Documents and Settings\All Users\Application Data Folder +++
end
item: Get Registry Key Value
  Variable=CAPPDATADIR
  Key=Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
  Value Name=Common AppData
  Flags=00000100
end
item: Remark
end
item: Remark
  Text=+++  Common "Local Settings\Application Data" folder variable +++
end
item: Parse String
  Source=%CAPPDATADIR%
  Pattern=\
  Variable1=LAPPDATA1
  Variable2=LAPPDATA2
  Flags=00000100
end
item: Set Variable
  Variable=CLAPPDATADIR
  Value=%LAPPDATA1%\Local Settings\%LAPPDATA2%
end
item: Else Statement
end
item: End Block
end
item: Get Registry Key Value
  Variable=INSTALLCOUNT
  Key=SOFTWARE\OwensCorning\SupXP\%_SOFTWAREID_%
  Value Name=Install Count
  Flags=00000100
end
item: Get Registry Key Value
  Variable=UNINSTALLCOUNT
  Key=SOFTWARE\OwensCorning\SupXP\%_SOFTWAREID_%
  Value Name=Uninstall Count
  Flags=00000100
end
item: Get Registry Key Value
  Variable=INSTALLSTATUS
  Key=SOFTWARE\OwensCorning\SupXP\%_SOFTWAREID_%
  Value Name=Install Status
  Flags=00000100
end
item: Remark
end
item: Get Environment Variable
  Variable=CMD
  Environment=ComSpec
end
item: Get System Information
  Variable=PCDATE
end
item: Get Environment Variable
  Variable=COMPUTERNAME
  Environment=COMPUTERNAME
end
item: Set Variable
  Variable=INST_SFN
  Value=%INST%
  Flags=00010100
end
item: Set Variable
  Variable=WIN
  Value=%_WIN_%
end
item: Set Variable
  Variable=LOGDIR
  Value=%WIN%\OCInstalls
end
item: Check if File/Dir Exists
  Pathname=%LOGDIR%
  Flags=00000101
end
item: Create Directory
  Pathname=%WIN%\OCInstalls
end
item: End Block
end
item: Set Variable
  Variable=ROOT
  Value=c:
end
item: Remark
end
item: Remark
  Text=+++++  Command line switches  ++++++++++++++++++++++++++++++++++++++++++++++++
end
item: Remark
  Text=+++/x to extract the .WSE file+++
end
item: Set Variable
  Variable=SCRIPTFLAG
  Value=/x
end
item: If/While Statement
  Variable=CMDLINE
  Value=%SCRIPTFLAG%
  Flags=00000010
end
item: Install File
  Source=\\labs7601\wsp\Projects\Okta Plugin for Chrome\Okta Plugin for Chrome.wse
  Destination=%APPTITLE%\Okta Plugin for Chrome.wse
  Flags=0000000000100010
end
item: Display Message
  Title=Script Extracted!
  Text=Extract Variable Found.  Extracting Original IPF file to %ROOT%\ folder.
  Flags=00100100
end
item: Exit Installation
end
item: End Block
end
item: Remark
end
item: Remark
  Text=+++/? to display the help menu+++
end
item: Set Variable
  Variable=HELPFLAG
  Value=/?
end
item: If/While Statement
  Variable=CMDLINE
  Value=%HELPFLAG%
  Flags=00000010
end
item: Display Message
  Title=Help Information!
  Text=Help Variable Found.  Available options are:
  Text=
  Text=/?   This help screen.
  Text=/x To extract the Source Code.
  Text=/f     To extract the included files.
  Text=/u  Uninstall
  Text=/T Typical install with basic UI (Default is Silent)
  Flags=00100100
end
item: Exit Installation
end
item: End Block
end
item: Remark
end
item: Remark
  Text=+++/T to Trigger Basic UI during install+++
end
item: Set Variable
  Variable=TYPICAL
  Value=/T
end
item: If/While Statement
  Variable=CMDLINE
  Value=/T
  Flags=00000010
end
item: Set Variable
  Variable=SILENT
  Value=NO
end
item: End Block
end
item: Remark
end
item: Remark
  Text=++ If Needed ++++
end
remarked item: Set Variable
  Variable=FILEFLAG
  Value=/f
end
remarked item: If/While Statement
  Variable=CMDLINE
  Value=%FILEFLAG%
  Flags=00000010
end
remarked item: Install File
  Source=%APPTITLE%.wse
  Destination=%ROOT%\%APPTITLE%.wse
  Flags=0000000000100010
end
remarked item: Custom Script Item
  Filename=Pause.wse
  Variable Name1=_PAUSE_TIME_
  Variable Value1=1000
end
remarked item: Display Message
  Title=Files Extracted!
  Text=Extract Variable Found.  Extracting process files to %ROOT%\ folder.
  Flags=00100100
end
remarked item: Exit Installation
end
remarked item: End Block
end
item: Remark
end
item: Remark
  Text=+++/U to Uninstall+++
end
item: Set Variable
  Variable=UNINSTALL
  Value=/U
end
item: If/While Statement
  Variable=CMDLINE
  Value=%UNINSTALL%
  Flags=00000010
end
item: Set Variable
  Variable=RUNUNINSTALL
  Value=YES
end
item: End Block
end
item: Remark
end
item: Remark
end
item: Remark
  Text=++++++++++++++++++++++++++++++Looking for previous install and calling uninstall if exisits++++++++++++++++++++++++++++++++
end
item: Get Registry Key Value
  Variable=PREVREG
  Key=SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\%GUID%
  Value Name=UninstallString
  Flags=00000100
end
item: If/While Statement
  Variable=PREVREG
  Value=MsiExec.exe
  Flags=00000010
end
item: Set Variable
  Variable=RUNPREUNINSTALL
  Value=YES
end
item: End Block
end
item: Remark
end
item: Remark
  Text=+++++++++++++++++PREPARING COMMAND LINES DETERMINING VARIABLES++++++++++++++++++
end
item: If/While Statement
  Variable=MST
end
item: Set Variable
  Variable=TRANSFORMS
  Value=NO
end
item: End Block
end
item: If/While Statement
  Variable=MST
  Value=changemstname
end
item: Set Variable
  Variable=TRANSFORMS
  Value=NO
end
item: End Block
end
item: Set Variable
  Variable=BASE
  Value=ALLUSERS=1 REBOOT=ReallySuppress /l "%LOGDIR%\%APPTITLE%.Log" 
end
item: If/While Statement
  Variable=SILENT
  Value=NO
end
item: Set Variable
  Variable=BASE
  Value=%BASE% /qb
end
item: End Block
end
item: If/While Statement
  Variable=SILENT
  Value=NO
  Flags=00000001
end
item: Set Variable
  Variable=BASE
  Value=%BASE% /q
end
item: End Block
end
item: Set Variable
  Variable=UNINSTSTR
  Value=/x%GUID% %BASE%
end
item: If/While Statement
  Variable=TRANSFORMS
  Value=NO
end
item: Set Variable
  Variable=MSICMD
  Value=%BASE%
end
item: End Block
end
item: If/While Statement
  Variable=TRANSFORMS
  Value=NO
  Flags=00000001
end
item: Set Variable
  Variable=MSICMD
  Value=%BASE% TRANSFORMS="%INST%\FILES\%MST%"
end
item: End Block
end
item: Set Variable
  Variable=MSICMD
  Value=/i "%INST%\Files\%MSINAME%" %MSICMD%
end
item: Remark
end
item: Remark
  Text=++++++++++++++++++CALLING UNINSTALL AND EXIT++++++++++++++++++++
end
item: If/While Statement
  Variable=RUNUNINSTALL
  Value=YES
end
item: Execute Program
  Pathname=%SYS32%\MSIEXEC.EXE
  Command Line=%UNINSTSTR%
  Flags=00000010
end
item: Set Variable
  Variable=UNINSTALLCOUNT
  Value=%UNINSTALLCOUNT%
  Flags=00000100
end
item: Edit Registry
  Total Keys=2
  item: Key
    Key=SOFTWARE\OWENSCORNING\SupXP\%_SOFTWAREID_%
    New Value=0
    New Value=
    Value Name=Install Status
    Root=2
  end
  item: Key
    Key=SOFTWARE\OWENSCORNING\SupXP\%_SOFTWAREID_%
    New Value=%UNINSTALLCOUNT%
    New Value=
    Value Name=Uninstall Count
    Root=2
  end
end
item: Exit Installation
end
item: End Block
end
item: Remark
end
item: Remark
  Text=++++++++++++++++++++CALLING PRE UNINSTALL (if installed) ++++++++++++++++++++++++++++
end
item: If/While Statement
  Variable=RUNPREUNINSTALL
  Value=YES
end
item: Execute Program
  Pathname=%SYS32%\MSIEXEC.EXE
  Command Line=%UNINSTSTR%
  Flags=00000010
end
item: Set Variable
  Variable=UNINSTALLCOUNT
  Value=%UNINSTALLCOUNT%
  Flags=00000100
end
item: Edit Registry
  Total Keys=2
  item: Key
    Key=SOFTWARE\OWENSCORNING\SupXP\%_SOFTWAREID_%
    New Value=0
    New Value=
    Value Name=Install Status
    Root=2
  end
  item: Key
    Key=SOFTWARE\OWENSCORNING\SupXP\%_SOFTWAREID_%
    New Value=%UNINSTALLCOUNT%
    New Value=
    Value Name=Uninstall Count
    Root=2
  end
end
item: End Block
end
item: Remark
end
item: Remark
  Text=+++++Calling MSI here++++++++++++++++++++++++++++++++++++++++
end
item: Get System Information
  Variable=TS
end
item: Check if File/Dir Exists
  Pathname=C:\Program Files (x86)
  Flags=00000100
end
item: Get Registry Key Value
  Variable=OKTA
  Key=SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Google Chrome
  Value Name=DisplayVersion
  Flags=00000100
end
item: Else Statement
end
item: Get Registry Key Value
  Variable=OKTA
  Key=SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Google Chrome
  Value Name=DisplayVersion
  Flags=00000100
end
item: End Block
end
item: Remark
end
item: If/While Statement
  Variable=OKTA
  Flags=00000101
end
item: Add Text to INSTALL.LOG
  Text=%TS%: Google chrome is not installed on machine
end
remarked item: Display Message
  Title=Chrome not installed
  Text=Chrome is required for this Plugin
  Flags=00010000
end
item: Exit Installation
  Flags=1605
end
item: Remark
end
item: Else Statement
end
item: Add Text to INSTALL.LOG
  Text=%TS%: installed version of chrome is %OKTA%
end
item: Check if File/Dir Exists
  Pathname=C:\Program Files (x86)
  Flags=00000100
end
item: Edit Registry
  Total Keys=1
  Key=SOFTWARE\WOW6432Node\Google\Chrome\Extensions\glnpjglilkicbckjpbgcfkogebgllemb
  New Value=https://clients2.google.com/service/update2/crx
  Value Name=update_url
  Root=2
end
item: Else Statement
end
item: Edit Registry
  Total Keys=1
  Key=SOFTWARE\Google\Chrome\Extensions\glnpjglilkicbckjpbgcfkogebgllemb
  New Value=https://clients2.google.com/service/update2/crx
  Value Name=update_url
  Root=18
end
item: End Block
end
item: Remark
end
item: End Block
end
item: Set Variable
  Variable=INSTALLCOUNT
  Value=%INSTALLCOUNT%
  Flags=00000100
end
item: Remark
end
item: Remark
end
item: Remark
  Text=+++++++++++++++++++++++++++Setting Secuirty for Folders and Registry++++++++++++++++++++++++++++++
end
item: Remark
  Text=+++++++++++++++++++++++++++++Uncomment after running Secuirty Tool if necessary+++++++++++++++++++++++++++++
end
remarked item: Set Variable
  Variable=SYS32
  Value=%SYSWIN%\system32
end
remarked item: Set Variable
  Variable=DBASE
  Value=C:\Winnt\Security\Database
end
remarked item: Set Variable
  Variable=TPLATE
  Value=C:\Winnt\Security\Templates
end
remarked item: Set Variable
  Variable=LOG
  Value=C:\Winnt\Security\Logs
end
remarked item: Install File
  Source=C:\Temp\Integration Name.inf
  Destination=%TPLATE%\%APPTITLE%.inf
  Flags=0000000010100010
end
remarked item: Remark
  Text=If old database file exists, delete it.
end
remarked item: Check if File/Dir Exists
  Pathname=C:\Winnt\Security\Databases\%APPTITLE%.sdb
  Flags=01100100
end
remarked item: Delete File
  Pathname=%DBASE%\%APPTITLE%.sdb
end
remarked item: End Block
end
remarked item: Execute Program
  Pathname=%SYS32%\secedit
  Command Line= /configure /cfg "%TPLATE%\%APPTITLE%.inf" /db  "%DBASE%\%APPTITLE%.SDB" /log "%LOG%\%APPTITLE%.log" /verbose
end
item: Remark
end
item: Remark
  Text=+++++++++++++++++++++++++++++++++++++ADDING ACTIVE SETUP INFORMATION HERE++++++++++++++++++++++++++++++++++++++
end
item: Remark
  Text=+++++++++++++++++++++++++++Uncomment this section of your installation contained any Current User Keys+++++++++++++++++++++++++++
end
remarked item: Install File
  Source=%APPTITLE%ActiveSetup.exe
  Destination=%WIN%\OCInstaller\%APPTITLE%ActiveSetup.exe
  Flags=0000000010100010
end
remarked item: Edit Registry
  Total Keys=8
  item: Key
    Key=SOFTWARE\Microsoft\Active Setup\Installed Components\%GUID%
    New Value=%_APPTITLE_% %_PACKAGEVER_% (%_SOFTWARREID_%)
    New Value=
    Root=2
  end
  item: Key
    Key=SOFTWARE\Microsoft\Active Setup\Installed Components\%GUID%
    New Value=%_APPTITLE_% %_PACKAGEVER_%
    New Value=
    Value Name=ComponentID
    Root=2
  end
  item: Key
    Key=SOFTWARE\Microsoft\Active Setup\Installed Components\%GUID%
    New Value=1
    Value Name=IsInstalled
    Root=2
    Data Type=3
  end
  item: Key
    Key=SOFTWARE\Microsoft\Active Setup\Installed Components\%GUID%
    New Value=EN
    Value Name=Locale
    Root=2
  end
  item: Key
    Key=SOFTWARE\Microsoft\Active Setup\Installed Components\%GUID%
    New Value=C:\Windows\OCInstaller\%APPTITLE%ActiveSetup.exe /s
    New Value=
    Value Name=StubPath
    Root=2
  end
  item: Key
    Key=SOFTWARE\Microsoft\Active Setup\Installed Components\%GUID%
    New Value=%_PACKAGEVER_%
    New Value=
    Value Name=Version
    Root=2
  end
  item: Key
    Key=SOFTWARE\Microsoft\Active Setup\Installed Components\%GUID%
    New Value=EN
    Value Name=Locale
    Root=1
  end
  item: Key
    Key=SOFTWARE\Microsoft\Active Setup\Installed Components\%GUID%
    New Value=%PACKAGEVER%
    New Value=
    Value Name=Version
    Root=1
  end
end
item: Remark
end
item: Remark
end
item: Remark
end
item: Remark
  Text=+++++++++++++++++++++++++++++++++Adding OC Custom Registry Hit++++++++++++++++++++++++++++++++++
end
item: Edit Registry
  Total Keys=4
  item: Key
    Key=SOFTWARE\OWENSCORNING\SupXP\%_SOFTWAREID_%
    New Value=1
    New Value=
    Value Name=Install Status
    Root=2
  end
  item: Key
    Key=SOFTWARE\OWENSCORNING\SupXP\%_SOFTWAREID_%
    New Value=%INSTALLCOUNT%
    New Value=
    Value Name=Install Count
    Root=2
  end
  item: Key
    Key=SOFTWARE\OWENSCORNING\SupXP\%_SOFTWAREID_%
    New Value=%UNINSTALLCOUNT%
    New Value=
    Value Name=Uninstall Count
    Root=2
  end
  item: Key
    Key=SOFTWARE\OWENSCORNING\SupXP\%_SOFTWAREID_%
    New Value=%_PACKAGEVER_%
    Value Name=%_APPNAME_%
    Root=2
  end
end
item: Remark
end
item: Remark
end
item: Remark
end
item: Remark
end
item: Set Variable
  Variable=REBOOT
end
item: Exit Installation
end

0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Answers

0
Are these machines joined to a domain?
What version of chrome are you on.
Answered 05/17/2016 by: cbreuer@bscsd.org
Senior White Belt

  • yes it is
    version of chrome 50 with latest updates in place !
    • one more think i would like to addin is, i download offline version of the add-in in my envt and have it added via scripts.hope that helps as a add on !!
Please log in to comment
0

Is there a reason not to deploy it from a gpo?

https://support.google.com/chrome/a/answer/188453

just create this key in the registry

https://sites.google.com/site/lock5stat/offline-use/installing-for-all-users

just edit the extension id with yours.

also

https://developer.chrome.com/extensions/hosting

Warning: As of Chrome 33, Windows users can only download extensions hosted in the Chrome Web store, except for installs via enterprise policy or developer mode (see Protecting Windows users from malicious extensions). As of Chrome 44, no external installs are allowed from a path to a local .crx on Mac (see Continuing to protect Chrome users from malicious extensions).


Also I found you can do this to host it locally.

http://stackoverflow.com/questions/34399010/extensioninstallsources-in-chrome-extensions-for-enterprise-policy

Answered 05/17/2016 by: cbreuer@bscsd.org
Senior White Belt

Please log in to comment
Answer this question or Comment on this question for clarity