Self extracting archives - sfx are very useful for this. Instead of a 7z or zip or other formats you will get an .exe so you can run it with a specified path. I suggest this as an alternative to your problem solution.
If you need to have a 7z file you still need an application that extract it. I dont know exact parameters for 7za though. Can you post them here so we can assist you?
[Installation] :: Error Record:
-------------
Message : A parameter cannot be found that matches parameter name 'addParameters'
This is a working entry where: x=extract files with full paths, -o=outputdirectory, -y=assume Yes on all queries.
It will create a %temp% and extract the content of the TestZipFile folder. Directory %temp% is in the same folder where 7za.exe is located.